Is there any method exists in SMO to export all the DTS packages stored in sql server 2008 (legacy ) to visual basic files (bas).
I can do it manually through open the package in dts designer --> save as visual basic file.
but I have to export more than 100 packages and any help on making SMO script is highly helpful.