getServerNameWithError:(NSError **) method

Retrieves the server host name provisioned in the client.

Syntax

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

Parameters

Returns

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