Export (0) Print
Expand All

ExchangeService.SyncFolderHierarchy method (FolderId, PropertySet, String)

EWS Managed API

Synchronizes the subfolders of a specified folder.

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

public ChangeCollection<FolderChange> SyncFolderHierarchy(
	FolderId syncFolderId,
	PropertySet propertySet,
	string syncState
)

Parameters

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

The ID of the folder that contains the subfolders to be synchronized. A a null reference (Nothing in Visual Basic) value indicates the root folder of the mailbox.

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

The set of properties to be retrieved for synchronized subfolders.

syncState
Type: System.String

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

Return value

Type: Microsoft.Exchange.WebServices.Data.ChangeCollection<FolderChange>
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