DacOperationsExtensions.ImportAsync Method

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

Namespace: Microsoft.WindowsAzure
Assembly: Microsoft.WindowsAzure.Management.Sql (in Microsoft.WindowsAzure.Management.Sql.dll)

Usage

'Usage
Dim operations As IDacOperations
Dim serverName As String
Dim parameters As DacImportParameters
Dim returnValue As Task(Of DacImportExportResponse)

returnValue = DacOperationsExtensions.ImportAsync(operations, serverName, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ImportAsync ( _
    operations As IDacOperations, _
    serverName As String, _
    parameters As DacImportParameters _
) As Task(Of DacImportExportResponse)
[ExtensionAttribute] 
public static Task<DacImportExportResponse> ImportAsync (
    IDacOperations operations,
    string serverName,
    DacImportParameters parameters
)
[ExtensionAttribute] 
public:
static Task<DacImportExportResponse^>^ ImportAsync (
    IDacOperations^ operations, 
    String^ serverName, 
    DacImportParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<DacImportExportResponse> ImportAsync (
    IDacOperations operations, 
    String serverName, 
    DacImportParameters parameters
)
ExtensionAttribute 
public static function ImportAsync (
    operations : IDacOperations, 
    serverName : String, 
    parameters : DacImportParameters
) : Task<DacImportExportResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Sql.IDacOperations.
  • serverName
    Required. The name of the Azure SQL Database Server into which the database is being imported.
  • parameters
    Optional. The parameters needed to initiated the Import request.

Return Value

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DacOperationsExtensions Class
DacOperationsExtensions Members
Microsoft.WindowsAzure Namespace