IRestoreDatabaseOperations.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Issues a restore request for an Azure SQL Database.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.RestoreDatabaseOperationCreateResponse> CreateAsync (string sourceServerName, Microsoft.WindowsAzure.Management.Sql.Models.RestoreDatabaseOperationCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Sql.Models.RestoreDatabaseOperationCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.RestoreDatabaseOperationCreateResponse>
Public Function CreateAsync (sourceServerName As String, parameters As RestoreDatabaseOperationCreateParameters, cancellationToken As CancellationToken) As Task(Of RestoreDatabaseOperationCreateResponse)
Parameters
- sourceServerName
- String
The name of the Azure SQL Database Server where the source database is, or was, hosted.
- parameters
- RestoreDatabaseOperationCreateParameters
Additional parameters for the Create Restore Database Operation request.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Contains the response to the Create Restore Database Operation request.