ExchangeService.SyncFolderItems(FolderId, PropertySet, IEnumerable<ItemId>, Int32, SyncFolderItemsScope, String) ExchangeService.SyncFolderItems(FolderId, PropertySet, IEnumerable<ItemId>, Int32, SyncFolderItemsScope, String) Method

Definition

Synchronizes the items in a specified folder.

public:
 Microsoft::Exchange::WebServices::Data::ChangeCollection<Microsoft::Exchange::WebServices::Data::ItemChange ^> ^ SyncFolderItems(Microsoft::Exchange::WebServices::Data::FolderId ^ syncFolderId, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ItemId ^> ^ ignoredItemIds, int maxChangesReturned, Microsoft::Exchange::WebServices::Data::SyncFolderItemsScope syncScope, System::String ^ syncState);
public Microsoft.Exchange.WebServices.Data.ChangeCollection<Microsoft.Exchange.WebServices.Data.ItemChange> SyncFolderItems (Microsoft.Exchange.WebServices.Data.FolderId syncFolderId, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ItemId> ignoredItemIds, int maxChangesReturned, Microsoft.Exchange.WebServices.Data.SyncFolderItemsScope syncScope, string syncState);

Parameters

syncFolderId
FolderId FolderId

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

propertySet
PropertySet PropertySet

The set of properties to be retrieved for synchronized items.

ignoredItemIds
IEnumerable<ItemId>

The optional list of item IDs that should be ignored.

maxChangesReturned
Int32 Int32

The maximum number of changes that should be returned.

syncScope
SyncFolderItemsScope SyncFolderItemsScope

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

syncState
String String

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

Returns

A list of changes that occurred in the specified folder.

Remarks

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

Applies to