Sdílet prostřednictvím


IFeedSyncServices::GetChangeBatch

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 Services for FeedSync 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

Remarks

This method helps a synchronization provider implement its IKnowledgeSyncProvider::GetChangeBatch method.

See Also

Reference

IFeedSyncServices Interface