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(PartitionKind, Nullable<Int32>) |
Gibt den Containerpartitionsschlüssel an. |
WithPartitionKey(ContainerPartitionKey)
Gibt den Containerpartitionsschlüssel an.
public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.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.SqlContainer.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(PartitionKind, Nullable<Int32>)
Gibt den Containerpartitionsschlüssel an.
public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithPartitionKey (Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind kind, int? version);
abstract member WithPartitionKey : Microsoft.Azure.Management.CosmosDB.Fluent.Models.PartitionKind * Nullable<int> -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithPartitionKey (kind As PartitionKind, version As Nullable(Of Integer)) As IUpdate
Parameter
- kind
- PartitionKind
Gibt die Art des Algorithmus an, der für die Partitionierung verwendet wird. Mögliche Werte sind: "Hash", "Range".
Gibt zurück
Die nächste Phase des Updates.
Gilt für:
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für