Share via


DatabaseCopyOperationsExtensions.GetAsync Method (IDatabaseCopyOperations, String, String, String)

 

Retrieves information about a SQL Server database copy.

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

Syntax

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

Parameters

  • serverName
    Type: System.String

    Required. The name of the source or destination SQL Server instance.

  • databaseName
    Type: System.String

    Required. The name of the database.

  • databaseCopyName
    Type: System.String

    Required. The unique identifier for the database copy to retrieve.

Return Value

Type: System.Threading.Tasks.Task<DatabaseCopyGetResponse>

Represents a response to the get request.

See Also

DatabaseCopyOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top