Share via


SyncFolderItemsType.SyncState Property

The SyncState property gets or sets 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
public string SyncState { get; set; }
public:
property String^ SyncState {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_SyncState ()

/** @property */
public void set_SyncState (String value)
public function get SyncState () : String

public function set SyncState (value : String)

Property Value

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 items 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 SyncFolderItems calls to synchronize the set of changes that occurred since the last synchronization call. Therefore, the SyncState property is required for incremental synchronization calls.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)