Fetches the farm to which the SAP Mobile Server belongs to.
Syntax
public static virtual NSString *
getFarmIdWithError:
(NSError ** error)
Parameters
-
error –
A double pointer to the error object in case the operation results in an error.
Returns
Returns the farm ID as a string object Usage NSError* error = nil; NSString* farmId = [ODPAppSettings getFarmIdWithError:&error]; if (!error) { // Further processing }