IActiveSyncTLClientPing Method (Int32, String, FolderClass)

The Ping command is used to request that the server monitor specified folders for changes that would require the client to resynchronize.

Namespace:  Aspose.Email.Clients.ActiveSync.TransportLayer
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.11
Syntax
string[] Ping(
	int heartbeatInterval,
	string serverId,
	FolderClass fClass
)

Parameters

heartbeatInterval
Type: SystemInt32
The HeartbeatInterval specifies the length of time, in seconds, that the server SHOULD wait before sending a response if no new items are added to the specified set of folders.
serverId
Type: SystemString
The Id element is a required child element of the Folder element in Ping command requests that specifies the server ID of the folder to be monitored.
fClass
Type: Aspose.Email.Clients.ActiveSync.TransportLayerFolderClass
The Class element is a required child element of the Folder element in Ping command requests that specifies the content class of the folder to be monitored.

Return Value

Type: String
Array of folders where changes has been discovered
See Also