Freigeben über


ContainerPartitionKey Konstruktoren

Definition

Überlädt

ContainerPartitionKey()

Initialisiert eine neue instance der ContainerPartitionKey-Klasse.

ContainerPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)

Initialisiert eine neue instance der ContainerPartitionKey-Klasse.

ContainerPartitionKey()

Initialisiert eine neue instance der ContainerPartitionKey-Klasse.

public ContainerPartitionKey();
Public Sub New ()

Gilt für:

ContainerPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)

Initialisiert eine neue instance der ContainerPartitionKey-Klasse.

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)

Parameter

paths
IList<String>

Liste der Pfade, mit denen Daten innerhalb des Containers partitioniert werden können

kind
PartitionKind

Gibt die Art des Algorithmus an, der für die Partitionierung verwendet wird. Mögliche Werte: "Hash", "Range"

version
Nullable<Int32>

Gibt die Version der Partitionsschlüsseldefinition an.

Gilt für: