IDocumentClient.ReadDatabaseFeedAsync(FeedOptions) Method

Definition

Reads the feed (sequence) of Database for a database account as an asynchronous operation in the Azure Cosmos DB service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Database>> ReadDatabaseFeedAsync (Microsoft.Azure.Documents.Client.FeedOptions options = null);
abstract member ReadDatabaseFeedAsync : Microsoft.Azure.Documents.Client.FeedOptions -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.Client.FeedResponse<Microsoft.Azure.Documents.Database>>
Public Function ReadDatabaseFeedAsync (Optional options As FeedOptions = null) As Task(Of FeedResponse(Of Database))

Parameters

options
FeedOptions

(Optional) The FeedOptionsfor this request.

Returns

Task<FeedResponse<Database>>

A System.Threading.Tasks containing a ResourceResponse<TResource> which wraps a Database containing the read resource record.

Applies to