PartitionKeyDefinition Class
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.
Specifies a partition key definition for a particular path in the Azure Cosmos DB service.
public sealed class PartitionKeyDefinition : Microsoft.Azure.Documents.JsonSerializable
type PartitionKeyDefinition = class
inherit JsonSerializable
Public NotInheritable Class PartitionKeyDefinition
Inherits JsonSerializable
- Inheritance
Constructors
PartitionKeyDefinition() |
Properties
Paths |
Gets or sets the paths to be partitioned in the Azure Cosmos DB service. |
Version |
Gets or sets version of the partitioning scheme to be applied on the partition key |
Methods
LoadFrom(JsonReader) |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
LoadFrom(JsonReader, JsonSerializerSettings) |
Loads the object from the specified JSON reader in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
SaveTo(Stream, SerializationFormattingPolicy) |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
SaveTo(Stream, SerializationFormattingPolicy, JsonSerializerSettings) |
Saves the object to the specified stream in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
ToString() |
Returns the string representation of the object in the Azure Cosmos DB service. (Inherited from JsonSerializable) |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor