Share via


DocumentCollection.UniqueKeyPolicy Property

Definition

Gets or sets the UniqueKeyPolicy that guarantees uniqueness of documents in collection in the Azure Cosmos DB service.

[Newtonsoft.Json.JsonProperty(PropertyName="uniqueKeyPolicy")]
public Microsoft.Azure.Documents.UniqueKeyPolicy UniqueKeyPolicy { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="uniqueKeyPolicy")>]
member this.UniqueKeyPolicy : Microsoft.Azure.Documents.UniqueKeyPolicy with get, set
Public Property UniqueKeyPolicy As UniqueKeyPolicy

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to