你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SqlDatabaseCollection.GetAllAsync(String, CancellationToken) Method

Definition

Gets a list of databases.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases
  • Operation Id: Databases_ListByServer
  • Default Api Version: 2024-11-01-preview
  • Resource: SqlDatabaseResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource> GetAllAsync(string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
Public Overridable Function GetAllAsync (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlDatabaseResource)

Parameters

skipToken
String

The String to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SqlDatabaseResource that may take multiple service requests to iterate over.

Applies to