RecoverDatabaseOperationsExtensions.CreateAsync Method
Issues a recovery request for an Azure SQL Database.
Namespace: Microsoft.WindowsAzure.Management.Sql
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)
Usage
'Usage
Dim operations As IRecoverDatabaseOperations
Dim sourceServerName As String
Dim parameters As RecoverDatabaseOperationCreateParameters
Dim returnValue As Task(Of RecoverDatabaseOperationCreateResponse)
returnValue = RecoverDatabaseOperationsExtensions.CreateAsync(operations, sourceServerName, parameters)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CreateAsync ( _
operations As IRecoverDatabaseOperations, _
sourceServerName As String, _
parameters As RecoverDatabaseOperationCreateParameters _
) As Task(Of RecoverDatabaseOperationCreateResponse)
[ExtensionAttribute]
public static Task<RecoverDatabaseOperationCreateResponse> CreateAsync (
IRecoverDatabaseOperations operations,
string sourceServerName,
RecoverDatabaseOperationCreateParameters parameters
)
[ExtensionAttribute]
public:
static Task<RecoverDatabaseOperationCreateResponse^>^ CreateAsync (
IRecoverDatabaseOperations^ operations,
String^ sourceServerName,
RecoverDatabaseOperationCreateParameters^ parameters
)
/** @attribute ExtensionAttribute() */
public static Task<RecoverDatabaseOperationCreateResponse> CreateAsync (
IRecoverDatabaseOperations operations,
String sourceServerName,
RecoverDatabaseOperationCreateParameters parameters
)
ExtensionAttribute
public static function CreateAsync (
operations : IRecoverDatabaseOperations,
sourceServerName : String,
parameters : RecoverDatabaseOperationCreateParameters
) : Task<RecoverDatabaseOperationCreateResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Sql.IRecoverDatabaseOperations.
- sourceServerName
Required. The name of the Azure SQL Database Server on which the database was hosted.
- parameters
Required. Additional parameters for the Create Recover Database Operation request.
Return Value
Contains the response to the Create Recover Database Operation 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
RecoverDatabaseOperationsExtensions Class
RecoverDatabaseOperationsExtensions Members
Microsoft.WindowsAzure.Management.Sql Namespace