getFarmIdWithError:(NSError **) method

Fetches the farm to which the SAP Mobile Server belongs to.

Syntax

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

Parameters

Returns

Returns the farm ID as a string object Usage NSError* error = nil; NSString* farmId = [ODPAppSettings getFarmIdWithError:&error]; if (!error) { // Further processing }