IImportExportOperations.ExportAsync 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.
Exports a Azure SQL Database to bacpac. To determine the status of the operation call GetImportExportOperationStatus.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse> ExportAsync (string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ExportRequestParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member ExportAsync : string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ExportRequestParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse>
Public Function ExportAsync (resourceGroupName As String, serverName As String, databaseName As String, parameters As ExportRequestParameters, cancellationToken As CancellationToken) As Task(Of ImportExportResponse)
Parameters
- resourceGroupName
- String
The name of the Resource Group to which the Azure SQL Server belongs.
- serverName
- String
The name of the Azure SQL Server on which the database is hosted.
- databaseName
- String
The name of the Azure SQL Database to export.
- parameters
- ExportRequestParameters
The required parameters for exporting a database.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Response Azure Sql Import/Export operations.