IWithPartitionKey.WithPartitionKey Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
WithPartitionKey(ContainerPartitionKey) |
Gibt den Containerpartitionsschlüssel an. |
WithPartitionKey(IList<String>, PartitionKind, Nullable<Int32>) |
Gibt den Containerpartitionsschlüssel an. |
WithPartitionKey(ContainerPartitionKey)
Gibt den Containerpartitionsschlüssel an.
public Microsoft.Azure.Management.CosmosDB.Fluent.GremlinGraph.Update.IUpdate WithPartitionKey (Microsoft.Azure.Management.CosmosDB.Fluent.Models.ContainerPartitionKey containerPartitionKey);
abstract member WithPartitionKey : Microsoft.Azure.Management.CosmosDB.Fluent.Models.ContainerPartitionKey -> Microsoft.Azure.Management.CosmosDB.Fluent.GremlinGraph.Update.IUpdate
Public Function WithPartitionKey (containerPartitionKey As ContainerPartitionKey) As IUpdate
Parameter
- containerPartitionKey
- ContainerPartitionKey
Das gesamte Objekt des Containerpartitionsschlüssels.
Gibt zurück
Die nächste Phase des Updates.
Gilt für:
WithPartitionKey(IList<String>, PartitionKind, Nullable<Int32>)
Gibt den Containerpartitionsschlüssel an.
public Microsoft.Azure.Management.CosmosDB.Fluent.GremlinGraph.Update.IUpdate WithPartitionKey (System.Collections.Generic.IList<string> paths, Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind kind, int? version);
abstract member WithPartitionKey : System.Collections.Generic.IList<string> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Fluent.GremlinGraph.Update.IUpdate
Public Function WithPartitionKey (paths As IList(Of String), kind As PartitionKind, version As Nullable(Of Integer)) As IUpdate
Parameter
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".
Gibt zurück
Die nächste Phase des Updates.
Gilt für:
Azure SDK for .NET