共用方式為


DocumentClient.GetDatabaseAccountAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.Documents.DatabaseAccount> GetDatabaseAccountAsync ();
abstract member GetDatabaseAccountAsync : unit -> System.Threading.Tasks.Task<Microsoft.Azure.Documents.DatabaseAccount>
override this.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.

Implements

Applies to