ExchangeServiceSyncFolderHierarchy(FolderId, PropertySet, String, CancellationToken) - метод |
Synchronizes the sub-folders of a specific folder. Calling this method results in a call to EWS.
Пространство имён:
Tessa.Exchange.WebServices.Data
Сборка:
Tessa.Server (в Tessa.Server.dll) Версия: 3.5.0.19
Синтаксис public Task<ChangeCollection<FolderChange>> SyncFolderHierarchy(
FolderId syncFolderId,
PropertySet propertySet,
string syncState,
CancellationToken token = default
)
Public Function SyncFolderHierarchy (
syncFolderId As FolderId,
propertySet As PropertySet,
syncState As String,
Optional token As CancellationToken = Nothing
) As Task(Of ChangeCollection(Of FolderChange))
public:
Task<ChangeCollection<FolderChange^>^>^ SyncFolderHierarchy(
FolderId^ syncFolderId,
PropertySet^ propertySet,
String^ syncState,
CancellationToken token = CancellationToken()
)
member SyncFolderHierarchy :
syncFolderId : FolderId *
propertySet : PropertySet *
syncState : string *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ChangeCollection<FolderChange>>
Параметры
- syncFolderId
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder containing the items to synchronize with. A null value indicates the root folder of the mailbox. - propertySet
- Тип: Tessa.Exchange.WebServices.DataPropertySet
The set of properties to retrieve for synchronized items. - syncState
- Тип: SystemString
The optional sync state representing the point in time when to start the synchronization. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskChangeCollectionFolderChangeA ChangeCollection containing a list of changes that occurred in the specified folder.
См. также