Share via


IRestorableDroppedDatabaseOperations.ListAsync Method (String, CancellationToken)

 

Returns a collection of databases that has been dropped but can still be restored from a specified server.

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

Syntax

Task<RestorableDroppedDatabaseListResponse> ListAsync(
    string serverName,
    CancellationToken cancellationToken
)
Task<RestorableDroppedDatabaseListResponse^>^ ListAsync(
    String^ serverName,
    CancellationToken cancellationToken
)
abstract ListAsync : 
        serverName:string *
        cancellationToken:CancellationToken -> Task<RestorableDroppedDatabaseListResponse>
Function ListAsync (
    serverName As String,
    cancellationToken As CancellationToken
) As Task(Of RestorableDroppedDatabaseListResponse)

Parameters

  • serverName
    Type: System.String

    The name of the Azure SQL Database Server to query for dropped databases that can still be restored.

Return Value

Type: System.Threading.Tasks.Task<RestorableDroppedDatabaseListResponse>

Contains the response to the List Restorable Dropped Databases request.

See Also

IRestorableDroppedDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top