Share via


DocumentCollection.PartitionKey Property

Definition

Gets or sets PartitionKeyDefinition object in the Azure Cosmos DB service.

[Newtonsoft.Json.JsonProperty(PropertyName="partitionKey")]
public Microsoft.Azure.Documents.PartitionKeyDefinition PartitionKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="partitionKey")>]
member this.PartitionKey : Microsoft.Azure.Documents.PartitionKeyDefinition with get, set
Public Property PartitionKey As PartitionKeyDefinition

Property Value

PartitionKeyDefinition object.

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to