FeedOptions.PartitionKey
Property
Definition
Gets or sets the PartitionKey for the current request in the Azure DocumentDB database service.
public Microsoft.Azure.Documents.PartitionKey PartitionKey { get; set; }
Property Value
Remarks
Partition key is required when read documents or attachments feed in a partitioned collection.
Specifically Partition key is required for :
ReadDocumentFeedAsync(String, FeedOptions),
ReadAttachmentFeedAsync(String, FeedOptions) and
ReadConflictFeedAsync(String, FeedOptions).
Only documents in partitions containing the PartitionKey is returned in the result.