GetOptions

ActiveSyncTLClient.GetOptions method

The GetOptions static method is used to discover what protocol versions are supported, and which protocol commands are supported on the server. The client uses the GetOptions static method to determine whether the server supports the same versions of the protocol that the client supports.

public static ASProtocolVersions GetOptions(string uri, NetworkCredential credentials, 
    out string[] supportedServerCommands, out string[] supportedServerProtocols)
Parameter Type Description
uri String The URL of ActiveSync service
credentials NetworkCredential Credentials for connecting to the server.
supportedServerCommands String[]& Out parameter, returns supported protocol commands
supportedServerProtocols String[]& Out parameter, returns supported versions of the protocol

Return Value

Returns latest supported protocol version

See Also