DatabaseOperationsExtensions::GetAsync Method (IDatabaseOperations^, String^, String^)

 

Returns information about an Azure SQL Database.

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

public:
[ExtensionAttribute]
static Task<DatabaseGetResponse^>^ GetAsync(
	IDatabaseOperations^ operations,
	String^ serverName,
	String^ databaseName
)

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 on which the database is hosted.

databaseName
Type: System::String^

Required. The name of the Azure SQL Database to be retrieved.

Return Value

Type: System.Threading.Tasks::Task<DatabaseGetResponse^>^

Contains the response to a Get Database request.

Return to top
Show: