MSDN Library

DacServices.Extract Method (Stream, String, String, Version, String, IEnumerable<Tuple>, Boolean, String)

Extracts a package containing the schema of a database.

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

public void Extract(
	Stream packageStream,
	string databaseName,
	string applicationName,
	Version applicationVersion,
	string applicationDescription,
	IEnumerable<Tuple> tables,
	bool extractOptions,
	string cancellationToken
)

Parameters

packageStream
Type: System.IO.Stream
The stream representing the existing unencrypted package.
databaseName
Type: System.String
The name of the source database.
applicationName
Type: System.String
The application name to be stored in the DACPAC metadata.
applicationVersion
Type: System.Version
The version number to be stored in the DACPAC metadata.
applicationDescription
Type: System.String
The application description to be stored in the DACPAC metadata.
tables
Type: System.Collections.Generic.IEnumerable<Tuple<T1, T2>>
The collection of tables for which data should be extracted.
extractOptions
Type: System.Boolean
The options for extracting.
cancellationToken
Type: System.String
The notification that operations should be canceled.

Community Additions

Show:
© 2016 Microsoft