Dela via


ISqlDatabase.ImportBacpac Method

Definition

Overloads

ImportBacpac(String)

Imports into the current database from a specified URI path; the current database must be empty.

ImportBacpac(IStorageAccount, String, String)

Imports into the current database from an existing storage account and relative path; the current database must be empty.

ImportBacpac(String)

Imports into the current database from a specified URI path; the current database must be empty.

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseImportRequest.Definition.IWithStorageTypeAndKey ImportBacpac (string storageUri);
abstract member ImportBacpac : string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseImportRequest.Definition.IWithStorageTypeAndKey
Public Function ImportBacpac (storageUri As String) As IWithStorageTypeAndKey

Parameters

storageUri
String

The storage URI to use.

Returns

Applies to

ImportBacpac(IStorageAccount, String, String)

Imports into the current database from an existing storage account and relative path; the current database must be empty.

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseImportRequest.Definition.IWithAuthenticationTypeAndLoginPassword ImportBacpac (Microsoft.Azure.Management.Storage.Fluent.IStorageAccount storageAccount, string containerName, string fileName);
abstract member ImportBacpac : Microsoft.Azure.Management.Storage.Fluent.IStorageAccount * string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseImportRequest.Definition.IWithAuthenticationTypeAndLoginPassword
Public Function ImportBacpac (storageAccount As IStorageAccount, containerName As String, fileName As String) As IWithAuthenticationTypeAndLoginPassword

Parameters

storageAccount
IStorageAccount

An existing storage account to be used.

containerName
String

The container name within the storage account to use.

fileName
String

The exported database file name.

Returns

Applies to