ImportExportOperationsExtensions.ImportToExistingDatabase Method

Definition

Imports a bacpac to an empty Azure SQL Database. To determine the status of the operation call GetImportExportOperationStatus.

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse ImportToExistingDatabase (this Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExtensionRequestParameteres parameters);
static member ImportToExistingDatabase : Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExtensionRequestParameteres -> Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse
<Extension()>
Public Function ImportToExistingDatabase (operations As IImportExportOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As ImportExtensionRequestParameteres) As ImportExportResponse

Parameters

operations
IImportExportOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the Azure SQL Server belongs.

serverName
String

Required. The name of the Azure SQL Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database to import to.

parameters
ImportExtensionRequestParameteres

Required. The required parameters for importing to a database.

Returns

Response Azure Sql Import/Export operations.

Applies to