IDatabaseOperations.GetAsync(String, String, CancellationToken) Method

Definition

Returns information about an Azure SQL Database.

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetResponse> GetAsync (string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseGetResponse>
Public Function GetAsync (serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of DatabaseGetResponse)

Parameters

serverName
String

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

databaseName
String

The name of the Azure SQL Database to be retrieved.

cancellationToken
CancellationToken

Cancellation token.

Returns

Contains the response to a Get Database request.

Applies to