Expand Minimize

ExchangeService.SyncFolderItems method

Synchronizes the items in a specified folder.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ChangeCollection<ItemChange> SyncFolderItems(
	FolderId syncFolderId,
	PropertySet propertySet,
	IEnumerable<ItemId> ignoredItemIds,
	int maxChangesReturned,
	SyncFolderItemsScope syncScope,
	string syncState
)

Parameters

syncFolderId
Type: Microsoft.Exchange.WebServices.Data.FolderId

The ID of the folder that contains the items to be synchronized.

propertySet
Type: Microsoft.Exchange.WebServices.Data.PropertySet

The set of properties to be retrieved for synchronized items.

ignoredItemIds
Type: System.Collections.Generic.IEnumerable<ItemId>

The optional list of item IDs that should be ignored.

maxChangesReturned
Type: System.Int32

The maximum number of changes that should be returned.

syncScope
Type: Microsoft.Exchange.WebServices.Data.SyncFolderItemsScope

The synchronization scope that identifies items to be included in the response.

syncState
Type: System.String

The optional synchronization state that represents the point in time at which the synchronization is to start.

Return value

Type: Microsoft.Exchange.WebServices.Data.ChangeCollection<ItemChange>
A list of changes that occurred in the specified folder.

Calling this method results in a call to Exchange Web Services (EWS).

Show:
© 2014 Microsoft