IDatabaseOperations.GetAsync Method (String, String, CancellationToken)
Returns information about an Azure SQL Database.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Syntax
Task<DatabaseGetResponse> GetAsync(
string serverName,
string databaseName,
CancellationToken cancellationToken
)
Task<DatabaseGetResponse^>^ GetAsync(
String^ serverName,
String^ databaseName,
CancellationToken cancellationToken
)
abstract GetAsync :
serverName:string *
databaseName:string *
cancellationToken:CancellationToken -> Task<DatabaseGetResponse>
Function GetAsync (
serverName As String,
databaseName As String,
cancellationToken As CancellationToken
) As Task(Of DatabaseGetResponse)
Parameters
serverName
Type: System.StringThe name of the Azure SQL Database Server on which the database is hosted.
databaseName
Type: System.StringThe name of the Azure SQL Database to be retrieved.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<DatabaseGetResponse>
Contains the response to a Get Database request.
See Also
IDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top