Dela via


SqlDatabaseCollection.GetAll(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.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)

Parameters

skipToken
String

The String to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to