Delen via


IMongoDB.ListCollectionsAsync(CancellationToken) Method

Definition

public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.CosmosDB.Fluent.IMongoCollection>> ListCollectionsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListCollectionsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.CosmosDB.Fluent.IMongoCollection>>
Public Function ListCollectionsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of IMongoCollection))

Parameters

cancellationToken
CancellationToken

Returns

All Mongo Collections in the DB.

Applies to