IKnowledgeSyncProvider::ProcessFullEnumerationChangeBatch

Processes a set of changes for a full enumeration by applying changes to the item store.


HRESULT ProcessFullEnumerationChangeBatch(
  CONFLICT_RESOLUTION_POLICY resolutionPolicy,
  ISyncFullEnumerationChangeBatch * pSourceChangeBatch,
  IUnknown * pUnkDataRetriever,
  ISyncCallback * pCallback,
  SYNC_SESSION_STATISTICS * pSyncSessionStatistics);

resolutionPolicy

[in] The conflict resolution policy to use when this method applies changes.

pSourceChangeBatch

[in] A batch of changes from the source provider to be applied locally.

pUnkDataRetriever

[in] An object that can be used to retrieve change data. It can be an ISynchronousDataRetriever object or a provider-specific object.

pCallback

[in] An object that receives event notifications during change application.

pSyncSessionStatistics

[in, out] Tracks change statistics. For a provider that uses custom change application, this object must be updated with the results of the change application.

  • S_OK

  • Provider-determined error codes

This method is called during forgotten knowledge recovery.

A provider that uses ISynchronousNotifyingChangeApplier to apply changes must enumerate, in sorted order by item ID, all the changes in the replica that have item IDs between the ISyncFullEnumerationChangeBatch::GetClosedLowerBoundItemId and ISyncFullEnumerationChangeBatch::GetClosedUpperBoundItemId properties of pSourceChangeBatch. This list of destination changes must then be provided to ISynchronousNotifyingChangeApplier::ApplyFullEnumerationChanges.

Show: