Edit

Share via


ExchangeService.BeginSyncFolderItems Method

Definition

Begins an asynchronous request to synchronize the items contained in a specified folder.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.

public:
 IAsyncResult ^ BeginSyncFolderItems(AsyncCallback ^ callback, System::Object ^ state, 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 IAsyncResult BeginSyncFolderItems (AsyncCallback callback, object state, 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

callback
AsyncCallback

The AsyncCallback delegate.

state
Object

An object that contains state information for the specified request.

syncFolderId
FolderId

The identifier of the folder containing the items to be synchronized.

propertySet
PropertySet

The set of properties to be retrieved for synchronized items.

ignoredItemIds
IEnumerable<ItemId>

An optional collection of ItemId objects that should be ignored.

maxChangesReturned
Int32

The maximum number of changes that can be returned in the result set.

syncScope
SyncFolderItemsScope

The scope of items that can be returned in the result set.

syncState
String

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

Returns

An IAsyncResult object that references the asynchronous request.

Remarks

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

Applies to