DacServices.Extract Method (String, 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(
	string packageFileName,
	string databaseName,
	string applicationName,
	Version applicationVersion,
	string applicationDescription,
	IEnumerable<Tuple> tables,
	bool extractOptions,
	string cancellationToken
)

Parameters

packageFileName
Type: System.String
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 extracting options.
cancellationToken
Type: System.String
The notification that operations should be canceled.

Community Additions

Show: