Share via


IDatabaseOperations.ListAsync Method (String, CancellationToken)

 

Returns a collection of Azure SQL Databases.

Namespace:   Microsoft.WindowsAzure.Management.Sql
Assembly:  Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Syntax

Task<DatabaseListResponse> ListAsync(
    string serverName,
    CancellationToken cancellationToken
)
Task<DatabaseListResponse^>^ ListAsync(
    String^ serverName,
    CancellationToken cancellationToken
)
abstract ListAsync : 
        serverName:string *
        cancellationToken:CancellationToken -> Task<DatabaseListResponse>
Function ListAsync (
    serverName As String,
    cancellationToken As CancellationToken
) As Task(Of DatabaseListResponse)

Parameters

  • serverName
    Type: System.String

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

Return Value

Type: System.Threading.Tasks.Task<DatabaseListResponse>

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

See Also

IDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top