IImportExportOperations.ImportAsync 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.
Imports a bacpac to Azure SQL Database. To determine the status of the operation call GetImportExportOperationStatus.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse> ImportAsync (string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportRequestParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member ImportAsync : string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportRequestParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse>
Public Function ImportAsync (resourceGroupName As String, serverName As String, parameters As ImportRequestParameters, cancellationToken As CancellationToken) As Task(Of ImportExportResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the Azure SQL Server belongs.
- serverName
- String
The name of the Azure SQL Server on which the database is hosted.
- parameters
- ImportRequestParameters
The required parameters for importing to a database.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Response Azure Sql Import/Export operations.