Compartir a través de


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)

Syntax

'Declaration
Public Property SyncState As String
    Get
    Set
'Usage
Dim instance As SyncFolderHierarchyType
Dim value As String

value = instance.SyncState

instance.SyncState = value
public string SyncState { get; set; }

Property Value

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

Remarks

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.

Note

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