Dela via


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: 2023-02-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