ContainerPartitionKey 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
ContainerPartitionKey() |
Initializes a new instance of the ContainerPartitionKey class. |
ContainerPartitionKey(IList<String>, PartitionKind, Nullable<Int32>) |
Initializes a new instance of the ContainerPartitionKey class. |
ContainerPartitionKey()
Initializes a new instance of the ContainerPartitionKey class.
public ContainerPartitionKey ();
Public Sub New ()
Applies to
ContainerPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)
Initializes a new instance of the ContainerPartitionKey class.
public ContainerPartitionKey (System.Collections.Generic.IList<string> paths = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind kind = default, int? version = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.ContainerPartitionKey : System.Collections.Generic.IList<string> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.ContainerPartitionKey
Public Sub New (Optional paths As IList(Of String) = Nothing, Optional kind As PartitionKind = Nothing, Optional version As Nullable(Of Integer) = Nothing)
Parameters
- kind
- PartitionKind
Indicates the kind of algorithm used for partitioning. Possible values include: 'Hash', 'Range'
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