ExchangeService.SyncFolderItems Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Synchronizes the items in a specified folder (not supported for use against Office 365 Group mailboxes or Public Folders).
public:
Microsoft::Exchange::WebServices::Data::ChangeCollection<Microsoft::Exchange::WebServices::Data::ItemChange ^> ^ SyncFolderItems(Microsoft::Exchange::WebServices::Data::FolderId ^ syncFolderId, Microsoft::Exchange::WebServices::Data::PropertySet ^ propertySet, System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ItemId ^> ^ ignoredItemIds, int maxChangesReturned, Microsoft::Exchange::WebServices::Data::SyncFolderItemsScope syncScope, System::String ^ syncState);
public Microsoft.Exchange.WebServices.Data.ChangeCollection<Microsoft.Exchange.WebServices.Data.ItemChange> SyncFolderItems (Microsoft.Exchange.WebServices.Data.FolderId syncFolderId, Microsoft.Exchange.WebServices.Data.PropertySet propertySet, System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ItemId> ignoredItemIds, int maxChangesReturned, Microsoft.Exchange.WebServices.Data.SyncFolderItemsScope syncScope, string syncState);
Parameters
- syncFolderId
- FolderId
The ID of the folder that contains the items to be synchronized.
- propertySet
- PropertySet
The set of properties to be retrieved for synchronized items.
- ignoredItemIds
- IEnumerable<ItemId>
The optional list of item IDs that should be ignored.
- maxChangesReturned
- Int32
The maximum number of changes that should be returned.
- syncScope
- SyncFolderItemsScope
The synchronization scope that identifies items to be included in the response.
- syncState
- String
The optional synchronization state that represents the point in time at which the synchronization is to start.
Returns
A list of changes that occurred in the specified folder.
Remarks
Calling this method results in a call to Exchange Web Services (EWS).