I want to run a *.sql script in SQLServer database using DMO. I am generating the script from Enterprise Manager. DMO should run the script, as we can do from the Query Analyser.

Can anyone help me with the code/method/objects to use?

This is really urgent!!!