UniqueKeyPolicy Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
Applies to
Azure SDK for .NET