SMO Scripting with the Individual SMO Objects
To follow up on the SMO Scripter() object, many of the SMO objects, like Table(), Column(), Index(), and on have a .Script() method that would allow you to script the individual object.
To follow up on the SMO Scripter() object, many of the SMO objects, like Table(), Column(), Index(), and on have a .Script() method that would allow you to script the individual object.