Share via


DatabaseOperationsExtensions.ListAsync Method (IDatabaseOperations, String)

 

Returns a collection of Azure SQL Databases.

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

Syntax

public static Task<DatabaseListResponse> ListAsync(
    this IDatabaseOperations operations,
    string serverName
)
public:
[ExtensionAttribute]
static Task<DatabaseListResponse^>^ ListAsync(
    IDatabaseOperations^ operations,
    String^ serverName
)
static member ListAsync : 
        operations:IDatabaseOperations *
        serverName:string -> Task<DatabaseListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
    operations As IDatabaseOperations,
    serverName As String
) As Task(Of DatabaseListResponse)

Parameters

  • serverName
    Type: System.String

    Required. 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

DatabaseOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top