共用方式為


IDocumentClient.GetDatabaseAccountAsync Method

Definition

Read the DatabaseAccount as an asynchronous operation in the Azure Cosmos DB service.

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.DatabaseAccount> GetDatabaseAccountAsync ();
abstract member GetDatabaseAccountAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.DatabaseAccount>
Public Function GetDatabaseAccountAsync () As Task(Of DatabaseAccount)

Returns

A DatabaseAccount wrapped in a Task object.

Applies to