Share via


IRestoreDatabaseOperations.CreateAsync Method (String, RestoreDatabaseOperationCreateParameters, CancellationToken)

 

Issues a restore request for an Azure SQL Database.

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

Syntax

Task<RestoreDatabaseOperationCreateResponse> CreateAsync(
    string sourceServerName,
    RestoreDatabaseOperationCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<RestoreDatabaseOperationCreateResponse^>^ CreateAsync(
    String^ sourceServerName,
    RestoreDatabaseOperationCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        sourceServerName:string *
        parameters:RestoreDatabaseOperationCreateParameters *
        cancellationToken:CancellationToken -> Task<RestoreDatabaseOperationCreateResponse>
Function CreateAsync (
    sourceServerName As String,
    parameters As RestoreDatabaseOperationCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of RestoreDatabaseOperationCreateResponse)

Parameters

  • sourceServerName
    Type: System.String

    The name of the Azure SQL Database Server where the source database is, or was, hosted.

Return Value

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

Contains the response to the Create Restore Database Operation request.

See Also

IRestoreDatabaseOperations Interface
Microsoft.WindowsAzure.Management.Sql Namespace

Return to top