Compartilhar via


Método RecoverableDatabaseOperationsExtensions.GetAsync

Returns information about a recoverable Azure SQL Database.

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

Uso

'Uso
Dim operations As IRecoverableDatabaseOperations
Dim serverName As String
Dim databaseName As String
Dim returnValue As Task(Of RecoverableDatabaseGetResponse)

returnValue = RecoverableDatabaseOperationsExtensions.GetAsync(operations, serverName, databaseName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
    operations As IRecoverableDatabaseOperations, _
    serverName As String, _
    databaseName As String _
) As Task(Of RecoverableDatabaseGetResponse)
[ExtensionAttribute] 
public static Task<RecoverableDatabaseGetResponse> GetAsync (
    IRecoverableDatabaseOperations operations,
    string serverName,
    string databaseName
)
[ExtensionAttribute] 
public:
static Task<RecoverableDatabaseGetResponse^>^ GetAsync (
    IRecoverableDatabaseOperations^ operations, 
    String^ serverName, 
    String^ databaseName
)
/** @attribute ExtensionAttribute() */ 
public static Task<RecoverableDatabaseGetResponse> GetAsync (
    IRecoverableDatabaseOperations operations, 
    String serverName, 
    String databaseName
)
ExtensionAttribute 
public static function GetAsync (
    operations : IRecoverableDatabaseOperations, 
    serverName : String, 
    databaseName : String
) : Task<RecoverableDatabaseGetResponse>

Parâmetros

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IRecoverableDatabaseOperations.
  • serverName
    Required. The name of the Azure SQL Database Server on which the database was hosted.
  • databaseName
    Required. The name of the recoverable Azure SQL Database to be obtained.

Valor de retorno

Contains the response to the Get Recoverable Database request.

Segurança de thread

Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.

Plataformas

Plataformas de desenvolvimento

Windows Vista, Windows 7 e Windows Server 2008

Plataformas de destino

Consulte também

Referência

Classe RecoverableDatabaseOperationsExtensions
Membros RecoverableDatabaseOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Sql