DatabaseOperationsExtensions.GetAsync Method

Definition

Returns information about an Azure SQL Database.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseGetResponse> GetAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations operations, string resourceGroupName, string serverName, string databaseName);
static member GetAsync : Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.DatabaseGetResponse>
<Extension()>
Public Function GetAsync (operations As IDatabaseOperations, resourceGroupName As String, serverName As String, databaseName As String) As Task(Of DatabaseGetResponse)

Parameters

operations
IDatabaseOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IDatabaseOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the server belongs.

serverName
String

Required. The name of the Azure SQL Database Server on which the database is hosted.

databaseName
String

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

Returns

Represents the response to a Get Azure Sql Database request.

Applies to