Share via


ImportExportOperationsExtensions.ExportAsync Method

Definition

Exports a Azure SQL Database to bacpac. To determine the status of the operation call GetImportExportOperationStatus.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse> ExportAsync (this Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations operations, string resourceGroupName, string serverName, string databaseName, Microsoft.Azure.Management.Sql.LegacySdk.Models.ExportRequestParameters parameters);
static member ExportAsync : Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations * string * string * string * Microsoft.Azure.Management.Sql.LegacySdk.Models.ExportRequestParameters -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Sql.LegacySdk.Models.ImportExportResponse>
<Extension()>
Public Function ExportAsync (operations As IImportExportOperations, resourceGroupName As String, serverName As String, databaseName As String, parameters As ExportRequestParameters) As Task(Of ImportExportResponse)

Parameters

operations
IImportExportOperations

Reference to the Microsoft.Azure.Management.Sql.LegacySdk.IImportExportOperations.

resourceGroupName
String

Required. The name of the Resource Group to which the Azure SQL Server belongs.

serverName
String

Required. The name of the Azure SQL Server on which the database is hosted.

databaseName
String

Required. The name of the Azure SQL Database to export.

parameters
ExportRequestParameters

Required. The required parameters for exporting a database.

Returns

Response Azure Sql Import/Export operations.

Applies to