Share via


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)

Syntax

public static Task<DatabaseCopyListResponse> ListAsync(
    this IDatabaseCopyOperations operations,
    string serverName,
    string databaseName
)
public:
[ExtensionAttribute]
static Task<DatabaseCopyListResponse^>^ ListAsync(
    IDatabaseCopyOperations^ operations,
    String^ serverName,
    String^ databaseName
)
static member ListAsync : 
        operations:IDatabaseCopyOperations *
        serverName:string *
        databaseName:string -> Task<DatabaseCopyListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
    operations As IDatabaseCopyOperations,
    serverName As String,
    databaseName As String
) As Task(Of DatabaseCopyListResponse)

Parameters

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

See Also

DatabaseCopyOperationsExtensions Class
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top