IDatabaseOperations.ListAsync(String, CancellationToken) Method

Definition

Returns a collection of Azure SQL Databases.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseListResponse> ListAsync (string serverName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseListResponse>
Public Function ListAsync (serverName As String, cancellationToken As CancellationToken) As Task(Of DatabaseListResponse)

Parameters

serverName
String

The name of the Azure SQL Database Server from which to retrieve the database.

cancellationToken
CancellationToken

Cancellation token.

Returns

Contains a collection of databases for a given Azure SQL Database Server.

Applies to