Dela via


ConflictResolutionPolicy.Mode Property

Definition

Gets or sets the ConflictResolutionMode in the Azure Cosmos DB service. By default it is LastWriterWins.

[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="mode")]
public Microsoft.Azure.Cosmos.ConflictResolutionMode Mode { get; set; }
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="mode")>]
member this.Mode : Microsoft.Azure.Cosmos.ConflictResolutionMode with get, set
Public Property Mode As ConflictResolutionMode

Property Value

One of the values of the ConflictResolutionMode enumeration.

Attributes
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to