Share via


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

 

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

Task<DatabaseCopyGetResponse> GetAsync(
    string serverName,
    string databaseName,
    string databaseCopyName,
    CancellationToken cancellationToken
)
Task<DatabaseCopyGetResponse^>^ GetAsync(
    String^ serverName,
    String^ databaseName,
    String^ databaseCopyName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        serverName:string *
        databaseName:string *
        databaseCopyName:string *
        cancellationToken:CancellationToken -> Task<DatabaseCopyGetResponse>
Function GetAsync (
    serverName As String,
    databaseName As String,
    databaseCopyName As String,
    cancellationToken As CancellationToken
) As Task(Of DatabaseCopyGetResponse)

Parameters

  • serverName
    Type: System.String

    The name of the source or destination SQL Server instance.

  • databaseCopyName
    Type: System.String

    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

IDatabaseCopyOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top