DatabaseOperationsExtensions.ListAsync Method (IDatabaseOperations, String)
Returns a collection of Azure SQL Databases.
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
public static Task<DatabaseListResponse> ListAsync( this IDatabaseOperations operations, string serverName )
Parameters
- operations
-
Type:
Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations
Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseOperations.
- 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.
Show: