RecoverableDatabaseOperationsExtensions.ListAsync Method
Returns a collection of databases that can be recovered from a specified server.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim operations As IRecoverableDatabaseOperations
Dim serverName As String
Dim returnValue As Task(Of RecoverableDatabaseListResponse)
returnValue = RecoverableDatabaseOperationsExtensions.ListAsync(operations, serverName)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
operations As IRecoverableDatabaseOperations, _
serverName As String _
) As Task(Of RecoverableDatabaseListResponse)
[ExtensionAttribute]
public static Task<RecoverableDatabaseListResponse> ListAsync (
IRecoverableDatabaseOperations operations,
string serverName
)
[ExtensionAttribute]
public:
static Task<RecoverableDatabaseListResponse^>^ ListAsync (
IRecoverableDatabaseOperations^ operations,
String^ serverName
)
/** @attribute ExtensionAttribute() */
public static Task<RecoverableDatabaseListResponse> ListAsync (
IRecoverableDatabaseOperations operations,
String serverName
)
ExtensionAttribute
public static function ListAsync (
operations : IRecoverableDatabaseOperations,
serverName : String
) : Task<RecoverableDatabaseListResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Sql.IRecoverableDatabaseOperations.
- serverName
Required. The name of the Azure SQL Database Server on which the databases were hosted.
Return Value
Contains the response to the List Recoverable Databases request.
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
RecoverableDatabaseOperationsExtensions Class
RecoverableDatabaseOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace