CollisionConflictResolutionPolicy Enumeration

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

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Enumeration CollisionConflictResolutionPolicy
'Usage
Dim instance As CollisionConflictResolutionPolicy
public enum CollisionConflictResolutionPolicy
public enum class CollisionConflictResolutionPolicy
type CollisionConflictResolutionPolicy
public enum CollisionConflictResolutionPolicy

Members

Member name Description
ApplicationDefined The change applier notifies the synchronization application of each collision conflict as it occurs, by using the ItemConstraint event. The application examines the conflicting items and specifies the conflict resolution action by calling SetResolutionAction.
DestinationWins The change made on the destination replica always wins. Sync Framework specifies a conflict resolution action of DestinationWins.
SourceWins The change made on the source replica always wins. Sync Framework specifies a conflict resolution action of SourceWins.
Merge The data from the source item is combined with the destination item. Sync Framework specifies a conflict resolution action of Merge.
RenameSource The change sent from the source provider is renamed so that it no longer collides with the conflicting item on the destination replica, and the source change is applied to the destination replica. Sync Framework specifies a conflict resolution action of RenameSource.
RenameDestination The conflicting item on the destination replica is renamed so that it no longer collides with the change sent from the source provider, and the source change is applied to the destination replica. Sync Framework specifies a conflict resolution action of RenameDestination.

Remarks

The members of CollisionConflictResolutionPolicy are used by a synchronization application to specify the policy that the change applier uses to resolve collision constraint conflicts that occur during synchronization. A collision conflict occurs when an item cannot be saved because it conflicts with another item in the destination store, such as when the source provider sends a file that has the same name and location as a file that already exists in the destination replica.

For more information, see Detecting and Resolving Constraint Conflicts.

See Also

Reference

Microsoft.Synchronization Namespace