ExchangeServiceSyncFolderItems(FolderId, PropertySet, IEnumerableItemId, Int32, Int32, SyncFolderItemsScope, String, CancellationToken) - метод |
Synchronizes the items 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<ItemChange>> SyncFolderItems(
FolderId syncFolderId,
PropertySet propertySet,
IEnumerable<ItemId> ignoredItemIds,
int maxChangesReturned,
int numberOfDays,
SyncFolderItemsScope syncScope,
string syncState,
CancellationToken token = default
)
Public Function SyncFolderItems (
syncFolderId As FolderId,
propertySet As PropertySet,
ignoredItemIds As IEnumerable(Of ItemId),
maxChangesReturned As Integer,
numberOfDays As Integer,
syncScope As SyncFolderItemsScope,
syncState As String,
Optional token As CancellationToken = Nothing
) As Task(Of ChangeCollection(Of ItemChange))
public:
Task<ChangeCollection<ItemChange^>^>^ SyncFolderItems(
FolderId^ syncFolderId,
PropertySet^ propertySet,
IEnumerable<ItemId^>^ ignoredItemIds,
int maxChangesReturned,
int numberOfDays,
SyncFolderItemsScope syncScope,
String^ syncState,
CancellationToken token = CancellationToken()
)
member SyncFolderItems :
syncFolderId : FolderId *
propertySet : PropertySet *
ignoredItemIds : IEnumerable<ItemId> *
maxChangesReturned : int *
numberOfDays : int *
syncScope : SyncFolderItemsScope *
syncState : string *
?token : CancellationToken
(* Defaults:
let _token = defaultArg token new CancellationToken()
*)
-> Task<ChangeCollection<ItemChange>>
Параметры
- syncFolderId
- Тип: Tessa.Exchange.WebServices.DataFolderId
The Id of the folder containing the items to synchronize with. - propertySet
- Тип: Tessa.Exchange.WebServices.DataPropertySet
The set of properties to retrieve for synchronized items. - ignoredItemIds
- Тип: System.Collections.GenericIEnumerableItemId
The optional list of item Ids that should be ignored. - maxChangesReturned
- Тип: SystemInt32
The maximum number of changes that should be returned. - numberOfDays
- Тип: SystemInt32
Limit the changes returned to this many days ago; 0 means no limit. - syncScope
- Тип: Tessa.Exchange.WebServices.DataSyncFolderItemsScope
The sync scope identifying items to include in the ChangeCollection. - syncState
- Тип: SystemString
The optional sync state representing the point in time when to start the synchronization. - token (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskChangeCollectionItemChangeA ChangeCollection containing a list of changes that occurred in the specified folder.
См. также