getConfigProperty:error: method

Retrieves the Configuration Property by providing key.

Syntax

- ( NSString * ) getConfigProperty : ( NSString * ) configKey error : ( NSError ** ) error

Parameters

Returns

Returns the Configuration Property as a string object.

Example 1

SMPAppSettings* appSettings = [SMPAppSettings initializeWithConnection:clientConn userName:"username" password:@"password"];
NSError* error = nil;
NSString* configProp = [appSettings getConfigProperty:configKey error:&error];
if (!error)
{
    // Further processing
}