Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a batch of changes from the loaded feed.
HRESULT GetChangeBatch(
DWORD dwBatchSize,
ISyncKnowledge * pRemoteKnowledge,
ISyncFilterInfo * pFilterInfo,
IFeedItemMetadataFilter * pItemMetadataFilter,
ISyncChangeBatch ** ppSyncChangeBatch,
IUnknown ** ppUnkDataRetriever);
Parameters
- dwBatchSize
[in] The number of changes to include in the change batch.
- pRemoteKnowledge
[in] The knowledge from the destination provider.
- pFilterInfo
[in, unique] Information about a filter that is used to control which items are included in the returned change batch. Can be NULL.
- pItemMetadataFilter
[in, unique] A callback object that Sync Framework will call one time for each item to determine whether the item should be added to the returned change batch. Can be NULL.
- ppSyncChangeBatch
[out] Returns the batch of changes that is enumerated from the loaded feed.
- ppUnkDataRetriever
[out] Returns an object that can be used to retrieve item data from the loaded feed.
Return Value
S_OK.
E_INVALIDARG.
E_OUTOFMEMORY.
SYNC_E_INVALID_OPERATION when IFeedSyncServices::Initialize was not called, or if a feed was not loaded by using IFeedSyncServices::LoadFeed.
Remarks
This method helps a synchronization provider implement its IKnowledgeSyncProvider::GetChangeBatch method.