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.Models.UniqueKey> uniqueKeys = default);
new Microsoft.Azure.Management.CosmosDB.Models.UniqueKeyPolicy : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.UniqueKey> -> Microsoft.Azure.Management.CosmosDB.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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET