running upgrade package via command line

Brian DonahueBrian Donahue Posts: 6,590 Bronze 1
edited November 8, 2004 9:18AM in SQL Packager Previous Versions
Hi Paul,

If you are writing a SQL Toolkit application to create a database package, you need to specify a property to the package so that it will create a database upgrade package rather than a new database package. If you add the line
Engine.AddProperty(“PACKAGE_UPGRADE_DATABASE”, “True”);
before calling the Engine.Package() method, the package will become an upgrade package and you will not get an error.
This discussion has been closed.