Partilhar via


MongoDBCollectionResource.Get(CancellationToken) Método

Definição

Obtém a coleção do MongoDB em uma conta de banco de dados existente do Azure Cosmos DB.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Operação IdMongoDBResources_GetMongoDBCollection
public virtual Azure.Response<Azure.ResourceManager.CosmosDB.MongoDBCollectionResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.MongoDBCollectionResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CosmosDB.MongoDBCollectionResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of MongoDBCollectionResource)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a