ICosmosDBAccount.GetMongoDBAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.IMongoDB> GetMongoDBAsync (string databaseName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetMongoDBAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.IMongoDB>
Public Function GetMongoDBAsync (databaseName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IMongoDB)

Parameters

databaseName
String

Database name of Mongo database.

cancellationToken
CancellationToken

Returns

The specific Mongo database.

Applies to