IDatabaseCopyOperations.ListAsync(String, String, CancellationToken) Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyListResponse> ListAsync (string serverName, string databaseName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyListResponse>
Public Function ListAsync (serverName As String, databaseName As String, cancellationToken As CancellationToken) As Task(Of DatabaseCopyListResponse)

Parameters

serverName
String

The name of the database server to be queried.

databaseName
String

The name of the database to be queried.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to