DacOperationsExtensions.ImportAsync Method

Definition

Initiates an Import of a DACPAC file from Azure Blob Storage into a Azure SQL Database.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DacImportExportResponse> ImportAsync (this Microsoft.WindowsAzure.Management.Sql.IDacOperations operations, string serverName, Microsoft.WindowsAzure.Management.Sql.Models.DacImportParameters parameters);
static member ImportAsync : Microsoft.WindowsAzure.Management.Sql.IDacOperations * string * Microsoft.WindowsAzure.Management.Sql.Models.DacImportParameters -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Sql.Models.DacImportExportResponse>
<Extension()>
Public Function ImportAsync (operations As IDacOperations, serverName As String, parameters As DacImportParameters) As Task(Of DacImportExportResponse)

Parameters

operations
IDacOperations

Reference to the Microsoft.WindowsAzure.Management.Sql.IDacOperations.

serverName
String

Required. The name of the Azure SQL Database Server into which the database is being imported.

parameters
DacImportParameters

Optional. The parameters needed to initiated the Import request.

Returns

Represents the response that the service returns once an import or export operation has been initiated.

Applies to