The most recent version of SMOscript is linked to the SMO libraries of SQL Server 2008.
The new version also generates the “GO” statement terminator after each batch.
One would assume this is automatically done by setting (or leaving) the NoCommandTerminator property false. It is not, as discussions on MS Connect show. Ask the Intertubes.
I am very interested in learning your SMO Script for SQL 2008. Is it possible that I can have the source code so that I can better understand how everything is done? Thanks!