Getting FarmID

Retrieve the Farm ID of the SUP Server.

Syntax

public String getFarmID() throws com.sybase.mo.MessagingClientException

Returns

Returns the Farm ID as a string.

Examples

  • Retrieve the Farm ID
    LiteAppSettings appSettings = new LiteAppSettings();
    String FarmID = appSettings.getFarmID();