ExchangeService.SyncFolderHierarchy method (FolderId, PropertySet, String)

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


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.

Type: Microsoft.Exchange.WebServices.Data.PropertySet

The set of properties to be retrieved for synchronized subfolders.

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).