IImportExportOperations.ImportToExistingDatabaseAsync 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 an empty Azure SQL Database. To determine the status of the operation call GetImportExportOperationStatus.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse> ImportToExistingDatabaseAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExtensionRequestParameteres parameters, System.Threading.CancellationToken cancellationToken);
abstract member ImportToExistingDatabaseAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExtensionRequestParameteres * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse>
Public Function ImportToExistingDatabaseAsync (resourceGroupName As String, serverName As String, databaseName As String, parameters As ImportExtensionRequestParameteres, 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.
- databaseName
- String
The name of the Azure SQL Database to import to.
- parameters
- ImportExtensionRequestParameteres
The required parameters for importing to a database.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Response Azure Sql Import/Export operations.