IDocumentClient.ReadDocumentCollectionFeedAsync
Method
Definition
Overloads
| ReadDocumentCollectionFeedAsync(String, FeedOptions) |
Reads the feed (sequence) of DocumentCollection for a database as an asynchronous operation in the Azure DocumentDB database service. |
| ReadDocumentCollectionFeedAsync(Uri, FeedOptions) |
Reads the feed (sequence) of collections for a database as an asynchronous operation in the Azure DocumentDB database service. |
ReadDocumentCollectionFeedAsync(String, FeedOptions)
Reads the feed (sequence) of DocumentCollection for a database as an asynchronous operation in the Azure DocumentDB database service.
public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.DocumentCollection>> ReadDocumentCollectionFeedAsync (string databaseLink, Microsoft.Azure.Documents.Client.FeedOptions options = null);
- databaseLink
- String
The link of the parent database resource.
- options
- FeedOptions
(Optional) The FeedOptionsfor this request.
A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a DocumentCollection containing the read resource record.
ReadDocumentCollectionFeedAsync(Uri, FeedOptions)
Reads the feed (sequence) of collections for a database as an asynchronous operation in the Azure DocumentDB database service.
public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.DocumentCollection>> ReadDocumentCollectionFeedAsync (Uri databaseUri, Microsoft.Azure.Documents.Client.FeedOptions options = null);
- databaseUri
- Uri
The URI of the parent Database.
- options
- FeedOptions
(Optional) The FeedOptions for the request.
The task object representing the service response for the asynchronous operation.