Share via


IDatabaseCopyOperations.ListAsync Method (String, String, CancellationToken)

 

Retrieves the list of SQL Server database copies for a database.

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

Syntax

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

Parameters

  • serverName
    Type: System.String

    The name of the database server to be queried.

  • databaseName
    Type: System.String

    The name of the database to be queried.

Return Value

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

Represents the response containing the list of database copies for a given database.

See Also

IDatabaseCopyOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top