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>, String, Nullable<Int32>, Nullable<Boolean>) |
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>, String, Nullable<Int32>, Nullable<Boolean>)
Initializes a new instance of the ContainerPartitionKey class.
public ContainerPartitionKey (System.Collections.Generic.IList<string> paths = default, string kind = default, int? version = default, bool? systemKey = default);
new Microsoft.Azure.Management.CosmosDB.Models.ContainerPartitionKey : System.Collections.Generic.IList<string> * string * Nullable<int> * Nullable<bool> -> Microsoft.Azure.Management.CosmosDB.Models.ContainerPartitionKey
Public Sub New (Optional paths As IList(Of String) = Nothing, Optional kind As String = Nothing, Optional version As Nullable(Of Integer) = Nothing, Optional systemKey As Nullable(Of Boolean) = Nothing)
Parameters
- kind
- String
Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create. Possible values include: 'Hash', 'Range', 'MultiHash'