Freigeben über


CosmosDBAccountResource.GetConnectionStrings(CancellationToken) Methode

Definition

Listet die Verbindungszeichenfolgen für das angegebene Azure Cosmos DB-Datenbankkonto auf.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/listConnectionStrings
  • Vorgang IdDatabaseAccounts_ListConnectionStrings
public virtual Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString> GetConnectionStrings (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConnectionStrings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString>
override this.GetConnectionStrings : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountConnectionString>
Public Overridable Function GetConnectionStrings (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CosmosDBAccountConnectionString)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine Sammlung von, bei der CosmosDBAccountConnectionString möglicherweise mehrere Dienstanforderungen zum Durchlaufen verwendet werden.

Gilt für: