Compartilhar via


ImportExportOperationsExtensions.Import Method

Definition

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

public static Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse Import (this Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations operations, string resourceGroupName, string serverName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportRequestParameters parameters);
static member Import : Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportRequestParameters -> Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse
<Extension()>
Public Function Import (operations As IImportExportOperations, resourceGroupName As String, serverName As String, parameters As ImportRequestParameters) 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.

parameters
ImportRequestParameters

Required. The required parameters for importing to a database.

Returns

Response Azure Sql Import/Export operations.

Applies to