ExchangeService.BeginSyncFolderHierarchy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginSyncFolderHierarchy(AsyncCallback, Object, PropertySet, String) |
Begins a request to synchronize the entire folder hierarchy of a specified mailbox.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2. |
BeginSyncFolderHierarchy(AsyncCallback, Object, FolderId, PropertySet, String) |
Begins an asynchronous request to synchronize the subfolders of a specified folder hierarchy.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2. |
BeginSyncFolderHierarchy(AsyncCallback, Object, PropertySet, String)
Begins a request to synchronize the entire folder hierarchy of a specified mailbox.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.
public:
IAsyncResult ^ BeginSyncFolderHierarchy(AsyncCallback ^ callback, System::Object ^ state, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::String ^ syncState);
public IAsyncResult BeginSyncFolderHierarchy (AsyncCallback callback, object state, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, string syncState);
Parameters
- callback
- AsyncCallback
The AsyncCallback delegate.
- state
- Object
An object that contains state information for the specified request.
- propertySet
- PropertySet
The set of properties to be retrieved for synchronized items.
- syncState
- String
The optional synchronization state representing the point in time at which the synchronization is to start.
Returns
An IAsynchResult object that references the asynchronous request.
Remarks
Calling this method results in a call to Exchange Web Service (EWS).
Applies to
BeginSyncFolderHierarchy(AsyncCallback, Object, FolderId, PropertySet, String)
Begins an asynchronous request to synchronize the subfolders of a specified folder hierarchy.This method was introduced in the Exchange Web Services (EWS) Managed API 1.2.
public:
IAsyncResult ^ BeginSyncFolderHierarchy(AsyncCallback ^ callback, System::Object ^ state, Microsoft::Exchange::WebServices::Data::FolderId ^ syncFolderId, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::String ^ syncState);
public IAsyncResult BeginSyncFolderHierarchy (AsyncCallback callback, object state, Microsoft.Exchange.WebServices.Data.FolderId syncFolderId, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, 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. A a null reference (Nothing in Visual Basic) value indicates that the root folder of the mailbox should be synchronized.
- propertySet
- PropertySet
The set of properties to be retrieved for synchronized items.
- syncState
- String
The optional synchronization state representing the point in time at which the synchronization is to start.
Returns
An IAsynchResult object that references the asynchronous request.
Remarks
Calling this method results in a call to Exchange Web Service (EWS).