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.6.0.22
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 FolderId
- The Id of the folder containing the items to synchronize with.
- propertySet PropertySet
- The set of properties to retrieve for synchronized items.
- ignoredItemIds IEnumerableItemId
- The optional list of item Ids that should be ignored.
- maxChangesReturned Int32
- The maximum number of changes that should be returned.
- numberOfDays Int32
- Limit the changes returned to this many days ago; 0 means no limit.
- syncScope SyncFolderItemsScope
- The sync scope identifying items to include in the ChangeCollection.
- syncState String
- The optional sync state representing the point in time when to start the synchronization.
- token CancellationToken (Optional)
-
TaskChangeCollectionItemChangeA ChangeCollection containing a list of changes that occurred in the specified folder.