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.
Processes a batch of changes sent by the source provider.
HRESULT ProcessChangeBatch(
CONFLICT_RESOLUTION_POLICY resolutionPolicy,
ISyncChangeBatch * pSourceChangeBatch,
IUnknown * pUnkDataRetriever,
ISynchronousNotifyingChangeApplierTarget * pChangeApplierTarget,
ISyncSessionState * pSessionState,
ISyncCallback * pCallback);
Parameters
- resolutionPolicy
[in] The conflict resolution policy to use when this method applies changes.
- pSourceChangeBatch
[in] A batch of changes from the source provider that is 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.
- pChangeApplierTarget
[in] An object that will be called by the change applier to save changes and conflicts to the loaded feed.
- pSessionState
[in] Information about the current session.
- pCallback
[in] An object that receives event notifications during change application.
Return Value
S_OK
E_INVALIDARG
E_OUTOFMEMORY
SYNC_E_INVALID_OPERATION if 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::ProcessChangeBatch method.
See Also
Reference
IFeedSyncServices Interface
CONFLICT_RESOLUTION_POLICY Enumeration