This documentation is archived and is not being maintained.

SyncFolderHierarchyType.SyncState Property

The SyncState property gets or set the synchronization state identifier. This property is optional with caveats. This is a read/write property.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

public string SyncState { get; set; }

Property Value

Type: System.String
The SyncState property returns a string.

The SyncState property contains a string that represents the synchronization state identifier. This identifier represents a type of watermark that describes which folders have been changed since the last synchronization. This property is optional when the first synchronization call is performed. The first call returns a SyncState in the response. The returned SyncState is used in later SyncFolderHierarchy calls to synchronize the set of changes that occurred since the last synchronization call. Therefore, the SyncState property is required for incremental synchronization calls.


If this property is set with an invalid string, an ErrorInvalidSyncStateData error may be returned.