IRestorableDroppedDatabaseOperations.ListAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.RestorableDroppedDatabaseListResponse> ListAsync (string serverName, System.Threading.CancellationToken cancellationToken);
abstract member ListAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.RestorableDroppedDatabaseListResponse>
Public Function ListAsync (serverName As String, cancellationToken As CancellationToken) As Task(Of RestorableDroppedDatabaseListResponse)

Parameters

serverName
String

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

cancellationToken
CancellationToken

Cancellation token.

Returns

Contains the response to the List Restorable Dropped Databases request.

Applies to