FeedOptions.PartitionKeyRangeId Property


Gets or sets the partition key range id for the current request.

public string PartitionKeyRangeId { get; set; }
member this.PartitionKeyRangeId : string with get, set
Public Property PartitionKeyRangeId As String

Property Value


The following example shows how to read a document feed in a partitioned collection from partition key range "20".

await client.ReadDocumentFeedAsync(
    new RequestOptions { PartitionKeyRangeId = "20" } );


ReadFeed requests can use this to forward request to specific range. This is usefull in case of bulk export scenarios.

Applies to

See also