UniqueKeyPolicy Class

Definition

The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.

public class UniqueKeyPolicy
type UniqueKeyPolicy = class
Public Class UniqueKeyPolicy
Inheritance
UniqueKeyPolicy

Constructors

UniqueKeyPolicy()

Initializes a new instance of the UniqueKeyPolicy class.

UniqueKeyPolicy(IList<UniqueKey>)

Initializes a new instance of the UniqueKeyPolicy class.

Properties

UniqueKeys

Gets or sets list of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.

Applies to