Export (0) Print
Expand All

DacServices.ExportBacpac Method (Stream, 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(
	Stream packageStream,
	string databaseName,
	DacSchemaModelStorageType modelStorageType,
	IEnumerable<Tuple> tables,
	bool cancellationToken
)

Parameters

packageStream
Type: System.IO.Stream
The stream representing the existing unencrypted 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