你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IWithImportFromBeta<ParentT>.ImportFrom 方法

定义

重载

ImportFrom(String)

从 BACPAC 文件创建新数据库。

ImportFrom(IStorageAccount, String, String)

从 BACPAC 文件创建新数据库。

ImportFrom(String)

从 BACPAC 文件创建新数据库。

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithStorageKey<ParentT> ImportFrom (string storageUri);
abstract member ImportFrom : string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithStorageKey<'ParentT>
Public Function ImportFrom (storageUri As String) As IWithStorageKey(Of ParentT)

参数

storageUri
String

要导入的数据库的源 URI。

返回

适用于

ImportFrom(IStorageAccount, String, String)

从 BACPAC 文件创建新数据库。

public Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithAuthentication<ParentT> ImportFrom (Microsoft.Azure.Management.Storage.Fluent.IStorageAccount storageAccount, string containerName, string fileName);
abstract member ImportFrom : Microsoft.Azure.Management.Storage.Fluent.IStorageAccount * string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabase.Definition.IWithAuthentication<'ParentT>
Public Function ImportFrom (storageAccount As IStorageAccount, containerName As String, fileName As String) As IWithAuthentication(Of ParentT)

参数

storageAccount
IStorageAccount

要使用的现有存储帐户。

containerName
String

存储帐户中要使用的容器名称。

fileName
String

导出的数据库文件名。

返回

适用于