Export (0) Print
Expand All

DacServices.ExportBacpac Method (String, String, DacSchemaModelStorageType, IEnumerable<Tuple>, Boolean)

Exports a package containing the schema and table data of a database.

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (in Microsoft.SqlServer.Dac.dll)

public void ExportBacpac(
	string packageFileName,
	string databaseName,
	DacSchemaModelStorageType modelStorageType,
	IEnumerable<Tuple> tables,
	bool cancellationToken
)

Parameters

packageFileName
Type: System.String
The file name of the exported package.
databaseName
Type: System.String
The name of the source database.
modelStorageType
Type: Microsoft.SqlServer.Dac.DacSchemaModelStorageType
The type of backing storage for a schema model.
tables
Type: System.Collections.Generic.IEnumerable<Tuple<T1, T2>>
The table to be exported.
cancellationToken
Type: System.Boolean
The notification that operations should be canceled.

Community Additions

Show:
© 2014 Microsoft