ISqlDatabase.ExportTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ExportTo(String) |
Exports the current database to a specified URI path. |
ExportTo(ICreatable<IStorageAccount>, String, String) |
Exports the current database to a new storage account and relative path. |
ExportTo(IStorageAccount, String, String) |
Exports the current database to an existing storage account and relative path. |
ExportTo(String)
Exports the current database to a specified URI path.
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
Parameters
- storageUri
- String
The storage URI to use.
Returns
Applies to
ExportTo(ICreatable<IStorageAccount>, String, String)
Exports the current database to a new storage account and relative path.
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
Parameters
- storageAccountCreatable
- ICreatable<IStorageAccount>
A storage account to be created as part of this execution flow.
- containerName
- String
The container name within the storage account to use.
- fileName
- String
The exported database file name.
Returns
Applies to
ExportTo(IStorageAccount, String, String)
Exports the current database to an existing storage account and relative path.
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
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
Azure SDK for .NET