DatabaseCopyOperationsExtensions.ListAsync Method (IDatabaseCopyOperations, String, String)

 

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)

public static Task<DatabaseCopyListResponse> ListAsync(
	this IDatabaseCopyOperations operations,
	string serverName,
	string databaseName
)

Parameters

operations
Type: Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations

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

serverName
Type: System.String

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

databaseName
Type: System.String

Required. 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.

Return to top
Show: