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)

Task<RestoreDatabaseOperationCreateResponse> CreateAsync(
	string sourceServerName,
	RestoreDatabaseOperationCreateParameters parameters,
	CancellationToken cancellationToken
)

Parameters

sourceServerName
Type: System.String

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

parameters
Type: Microsoft.WindowsAzure.Management.Sql.Models.RestoreDatabaseOperationCreateParameters

Additional parameters for the Create Restore Database Operation request.

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

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

Contains the response to the Create Restore Database Operation request.

Return to top
Show: