Share via


ChangeFeedDocumentClient.ReadPartitionKeyRangeFeedAsync Method

Definition

Reads the list of Partition Key Ranges.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.IFeedResponse<Microsoft.Azure.Documents.PartitionKeyRange>> ReadPartitionKeyRangeFeedAsync (string partitionKeyRangesOrCollectionLink, Microsoft.Azure.Documents.Client.FeedOptions options = default);
abstract member ReadPartitionKeyRangeFeedAsync : string * Microsoft.Azure.Documents.Client.FeedOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.IFeedResponse<Microsoft.Azure.Documents.PartitionKeyRange>>
override this.ReadPartitionKeyRangeFeedAsync : string * Microsoft.Azure.Documents.Client.FeedOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.IFeedResponse<Microsoft.Azure.Documents.PartitionKeyRange>>
Public Function ReadPartitionKeyRangeFeedAsync (partitionKeyRangesOrCollectionLink As String, Optional options As FeedOptions = Nothing) As Task(Of IFeedResponse(Of PartitionKeyRange))

Parameters

partitionKeyRangesOrCollectionLink
String

Partition Key Ranges or Collection Self Link.

options
FeedOptions

The FeedOptionsfor this request.

Returns

A list of PartitionKeyRange.

Implements

Applies to