getServerNameWithError:(NSError **) method

Fetches the server host name against which the user is registered.

Syntax

public static virtual NSString * getServerNameWithError: (NSError ** error)

Parameters

Returns

Returns the server host name as a string object Usage NSError* error = nil; NSString* hostName = [ODPAppSettings getServerNameWithError:&error]; if (!error) { // Further processing }