IActiveSyncTLClientPing Method (Int32, IEnumerablePingParameter)

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,
	IEnumerable<PingParameter> pingParameters
)

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.
pingParameters
Type: System.Collections.GenericIEnumerablePingParameter
Ping parameters

Return Value

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