ChangeFeedDocumentClient.ReadPartitionKeyRangeFeedAsync Method
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET