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)

Syntax

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

Parameters

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

See Also

DatabaseOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top