Edit

Share via


ConflictResolutionType Enum

Definition

The ConflictResolutionType enumeration specifies how a conflict is handled during an UpdateItem operation.

public enum class ConflictResolutionType
public enum ConflictResolutionType
Public Enum ConflictResolutionType
Inheritance
ConflictResolutionType

Fields

Name Value Description
NeverOverwrite 0

If conflict exists, the UpdateItem operation fails and an error is returned.

AutoResolve 1

The UpdateItem operation automatically resolves any conflict. The AutoResolve option will in most cases overwrite the existing value for a property. In some cases, the new value is ignored and the original value is retained. For example, user A changes the Sensitivity property from Normal to Confidential. Then user B sets the value to Public. In this example, the Confidential setting is retained and user B's update is ignored.

AlwaysOverwrite 2

If there is a conflict, the UpdateItem operation will overwrite information.

Remarks

This enumeration is used by the ConflictResolution property of the UpdateItemType object. A conflict occurs when a client tries to update a property that has already been set.

Applies to