Share via


DacPackageExtensions.BuildPackage Method

Include Protected Members
Include Inherited Members

Creates a package with the specified TSqlModel and saves it to the specified Stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member BuildPackage(Stream, TSqlModel, PackageMetadata) Creates a package with the specified TSqlModel and saves it to the specified Stream.
Public methodStatic member BuildPackage(String, TSqlModel, PackageMetadata) Creates a package with the specified TSqlModel and saves it to the specified location.
Public methodStatic member BuildPackage(Stream, TSqlModel, PackageMetadata, PackageOptions) Creates a package with the specified TSqlModel and saves it to the specified Stream. In addition to the TSqlModel, other artifacts such as refactor log and deployment contributors can be specified in packageOptions.
Public methodStatic member BuildPackage(String, TSqlModel, PackageMetadata, PackageOptions) Creates a package with the specified TSqlModel and saves it to the specified location. In addition to the TSqlModel, other artifacts such as refactor log and deployment contributors can be specified in packageOptions.

Top

See Also

Reference

DacPackageExtensions Class

Microsoft.SqlServer.Dac Namespace