你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ISqlDatabase.ExportTo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ExportTo(String) |
将当前数据库导出到指定的 URI 路径。 |
ExportTo(ICreatable<IStorageAccount>, String, String) |
将当前数据库导出到新的存储帐户和相对路径。 |
ExportTo(IStorageAccount, String, String) |
将当前数据库导出到现有存储帐户和相对路径。 |
ExportTo(String)
将当前数据库导出到指定的 URI 路径。
public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseExportRequest.Definition.IWithStorageTypeAndKey ExportTo (string storageUri);
abstract member ExportTo : string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseExportRequest.Definition.IWithStorageTypeAndKey
Public Function ExportTo (storageUri As String) As IWithStorageTypeAndKey
参数
- storageUri
- String
要使用的存储 URI。
返回
适用于
ExportTo(ICreatable<IStorageAccount>, String, String)
将当前数据库导出到新的存储帐户和相对路径。
public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseExportRequest.Definition.IWithAuthenticationTypeAndLoginPassword ExportTo (Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Storage.Fluent.IStorageAccount> storageAccountCreatable, string containerName, string fileName);
abstract member ExportTo : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Storage.Fluent.IStorageAccount> * string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseExportRequest.Definition.IWithAuthenticationTypeAndLoginPassword
Public Function ExportTo (storageAccountCreatable As ICreatable(Of IStorageAccount), containerName As String, fileName As String) As IWithAuthenticationTypeAndLoginPassword
参数
- storageAccountCreatable
- ICreatable<IStorageAccount>
要作为此执行流的一部分创建的存储帐户。
- containerName
- String
存储帐户中要使用的容器名称。
- fileName
- String
导出的数据库文件名。
返回
适用于
ExportTo(IStorageAccount, String, String)
将当前数据库导出到现有存储帐户和相对路径。
public Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseExportRequest.Definition.IWithAuthenticationTypeAndLoginPassword ExportTo (Microsoft.Azure.Management.Storage.Fluent.IStorageAccount storageAccount, string containerName, string fileName);
abstract member ExportTo : Microsoft.Azure.Management.Storage.Fluent.IStorageAccount * string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlDatabaseExportRequest.Definition.IWithAuthenticationTypeAndLoginPassword
Public Function ExportTo (storageAccount As IStorageAccount, containerName As String, fileName As String) As IWithAuthenticationTypeAndLoginPassword
参数
- storageAccount
- IStorageAccount
要使用的现有存储帐户。
- containerName
- String
存储帐户中要使用的容器名称。
- fileName
- String
导出的数据库文件名。