CONFLICT_RESOLUTION_POLICY Enumeration
Represents the options for the conflict resolution policy to use for the synchronization session.
typedef enum
{
CRP_NONE,
CRP_DESTINATION_PROVIDER_WINS,
CRP_SOURCE_PROVIDER_WINS,
CRP_LAST,
} CONFLICT_RESOLUTION_POLICY;
Members
- CRP_NONE
Delegate to the application to resolve conflicts. Setting this policy will cause ISyncCallback::OnConflict to be fired for every conflict.
- CRP_DESTINATION_PROVIDER_WINS
The destination item is always chosen as the resolution winner. When a conflict occurs, no change will be made to the destination item.
- CRP_SOURCE_PROVIDER_WINS
The source change is always chosen as the resolution winner. When a conflict occurs, the source change is applied to the destination, overwriting the destination item.
- CRP_LAST
A placeholder for the last element in the enumeration. Do not use this value.
Requirements
Header: Synchronization.h
See Also
Reference
IKnowledgeSyncProvider::ProcessChangeBatch
IKnowledgeSyncProvider::ProcessFullEnumerationChangeBatch
ISyncSession::Start
ISynchronousNotifyingChangeApplier::ApplyChanges
IAsynchronousNotifyingChangeApplier::ApplyChanges
IFeedSyncServices::ProcessChangeBatch