CONFLICT_RESOLUTION_POLICY enumeration (winsync.h)

Represents the options for the concurrency conflict resolution policy to use for the synchronization session.

Syntax

typedef enum __MIDL___MIDL_itf_winsync_0000_0000_0002 {
  CRP_NONE = 0,
  CRP_DESTINATION_PROVIDER_WINS,
  CRP_SOURCE_PROVIDER_WINS,
  CRP_LAST
} CONFLICT_RESOLUTION_POLICY;

Constants

 
CRP_NONE
Value: 0
The change applier notifies the synchronization application of each conflict as it occurs, by using the ISyncCallback::OnConflict method. The application examines the conflicting items and specifies the conflict resolution action by calling IChangeConflict::SetResolveActionForChange or IChangeConflict::SetResolveActionForChangeUnit.
CRP_DESTINATION_PROVIDER_WINS
The change made on the destination replica always wins. This supports the case in which the destination replica does not consume changes that are made by remote clients.
CRP_SOURCE_PROVIDER_WINS
The change made on the source replica always wins. This supports a read-only synchronization solution in which the destination replica is not to be trusted.
CRP_LAST
A placeholder for the last element in the enumeration. Do not use this value.

Remarks

The members of CONFLICT_RESOLUTION_POLICY are used by a synchronization application to specify the policy that the change applier uses to resolve concurrency conflicts that occur during synchronization. Concurrency conflicts occur when the same item or change unit is changed on two different replicas that are later synchronized.

Requirements

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

See also

IKnowledgeSyncProvider::ProcessChangeBatch

IKnowledgeSyncProvider::ProcessFullEnumerationChangeBatch

Windows Sync Enumerations