IKnowledgeSyncProvider::ProcessFullEnumerationChangeBatch method (winsync.h)

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

Syntax

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

Parameters

[in] resolutionPolicy

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

[in] pSourceChangeBatch

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

[in] pUnkDataRetriever

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

[in] pCallback

An object that receives event notifications during change application.

[in, out] pSyncSessionStatistics

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

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
Provider-determined error codes

Remarks

This method is called during forgotten knowledge recovery.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

CONFLICT RESOLUTION POLICY Enumeration

IKnowledgeSyncProvider Interface

SYNC RANGE Structure