Dela via


UniqueKeyPolicy Constructors

Definition

Overloads

UniqueKeyPolicy()

Initializes a new instance of the UniqueKeyPolicy class.

UniqueKeyPolicy(IList<UniqueKey>)

Initializes a new instance of the UniqueKeyPolicy class.

UniqueKeyPolicy()

Initializes a new instance of the UniqueKeyPolicy class.

public UniqueKeyPolicy ();
Public Sub New ()

Applies to

UniqueKeyPolicy(IList<UniqueKey>)

Initializes a new instance of the UniqueKeyPolicy class.

public UniqueKeyPolicy (System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.UniqueKey> uniqueKeys = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.UniqueKeyPolicy : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.UniqueKey> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.UniqueKeyPolicy
Public Sub New (Optional uniqueKeys As IList(Of UniqueKey) = Nothing)

Parameters

uniqueKeys
IList<UniqueKey>

List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.

Applies to