DocumentClient.GetDatabaseAccountAsync 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.
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.