IRecoverDatabaseOperations.CreateAsync Method (String, RecoverDatabaseOperationCreateParameters, CancellationToken)
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)
Syntax
Task<RecoverDatabaseOperationCreateResponse> CreateAsync(
string sourceServerName,
RecoverDatabaseOperationCreateParameters parameters,
CancellationToken cancellationToken
)
Task<RecoverDatabaseOperationCreateResponse^>^ CreateAsync(
String^ sourceServerName,
RecoverDatabaseOperationCreateParameters^ parameters,
CancellationToken cancellationToken
)
abstract CreateAsync :
sourceServerName:string *
parameters:RecoverDatabaseOperationCreateParameters *
cancellationToken:CancellationToken -> Task<RecoverDatabaseOperationCreateResponse>
Function CreateAsync (
sourceServerName As String,
parameters As RecoverDatabaseOperationCreateParameters,
cancellationToken As CancellationToken
) As Task(Of RecoverDatabaseOperationCreateResponse)
Parameters
- targetServerName
The name of the Azure SQL Database Server on which to recover the source database.
parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.RecoverDatabaseOperationCreateParametersAdditional parameters for the Create Recover Database Operation request.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
Return Value
Type: System.Threading.Tasks.Task<RecoverDatabaseOperationCreateResponse>
Contains the response to the Create Recover Database Operation request.
See Also
IRecoverDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace
Return to top