DatabaseCopyOperationsExtensions.ListAsync Method

Definition

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

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyListResponse> ListAsync (this Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations operations, string serverName, string databaseName);
static member ListAsync : Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DatabaseCopyListResponse>
<Extension()>
Public Function ListAsync (operations As IDatabaseCopyOperations, serverName As String, databaseName As String) As Task(Of DatabaseCopyListResponse)

Parameters

operations
IDatabaseCopyOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.

serverName
String

Required. The name of the database server to be queried.

databaseName
String

Required. The name of the database to be queried.

Returns

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

Applies to