你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConflictResolutionPolicy.Mode 属性

定义

获取或设置 ConflictResolutionMode Azure Cosmos DB 服务中的 。 默认情况下,它是 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

属性值

ConflictResolutionMode 枚举的值之一。

属性
Newtonsoft.Json.JsonConverterAttribute Newtonsoft.Json.JsonPropertyAttribute

适用于