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

SqlDatabaseCollection.GetAll(String, CancellationToken) 方法

定义

获取数据库的列表。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases
  • 操作IdDatabases_ListByServer
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SqlDatabaseResource> GetAll (string skipToken = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
override this.GetAll : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SqlDatabaseResource>
Public Overridable Function GetAll (Optional skipToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlDatabaseResource)

参数

skipToken
String

要使用的字符串。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的集合 SqlDatabaseResource ,可能需要多个服务请求才能循环访问。

适用于