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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin