ImportExportOperationsExtensions.ImportAsync Method

Definition

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

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