ConflictType Enumeration

Synchronization Services - ADO.NET 1.0 SP1

Defines the types of conflicts that can occur during synchronization.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in

public enum class ConflictType
public enum ConflictType
public enum ConflictType

 Member nameDescription
ClientDeleteServerUpdateThe client deleted a row that the server updated. 
ClientInsertServerInsertThe client and server both inserted a row that has the same primary key value. This caused a primary key violation. 
ClientUpdateServerDeleteThe server deleted a row that the client updated. 
ClientUpdateServerUpdateThe client and the server updated the same row. 
ErrorsOccurredThe client or server store (typically a database) threw an exception while applying a change. 
UnknownThe client synchronization provider can classify all conflicts that it encounters, but the server synchronization provider cannot. Therefore, some conflicts are classified as Unknown

A conflict occurs when the same row is inserted, updated, or deleted at more than one place between synchronizations. Conflicts are always defined as having occurred between the server and client that are currently synchronizing. However, that does not mean that the conflicting change at the server necessarily originated at the server. For more information, see How to: Handle Data Conflicts and Errors.

The following code example specifies a value of RetryWithForceWrite for client-update/server-delete conflicts. To view this code in the context of a complete example, see How to: Handle Data Conflicts and Errors.

No code example is currently available or this language may not be supported.