Share via


DatabaseCopyOperationsExtensions.ListAsync Method

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

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

Usage

'Usage
Dim operations As IDatabaseCopyOperations
Dim serverName As String
Dim databaseName As String
Dim returnValue As Task(Of DatabaseCopyListResponse)

returnValue = DatabaseCopyOperationsExtensions.ListAsync(operations, serverName, databaseName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As IDatabaseCopyOperations, _
    serverName As String, _
    databaseName As String _
) As Task(Of DatabaseCopyListResponse)
[ExtensionAttribute] 
public static Task<DatabaseCopyListResponse> ListAsync (
    IDatabaseCopyOperations operations,
    string serverName,
    string databaseName
)
[ExtensionAttribute] 
public:
static Task<DatabaseCopyListResponse^>^ ListAsync (
    IDatabaseCopyOperations^ operations, 
    String^ serverName, 
    String^ databaseName
)
/** @attribute ExtensionAttribute() */ 
public static Task<DatabaseCopyListResponse> ListAsync (
    IDatabaseCopyOperations operations, 
    String serverName, 
    String databaseName
)
ExtensionAttribute 
public static function ListAsync (
    operations : IDatabaseCopyOperations, 
    serverName : String, 
    databaseName : String
) : Task<DatabaseCopyListResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IDatabaseCopyOperations.
  • serverName
    Required. The name of the database server to be queried.
  • databaseName
    Required. The name of the database to be queried.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DatabaseCopyOperationsExtensions Class
DatabaseCopyOperationsExtensions Members
Microsoft.WindowsAzure Namespace