If you want to see the window as per EM executing the package then you can
probably get what you need from using the SQLNamespace library
Have a look at this
http://www.databasejournal.com/features/mssql/article.php/1486471
--
--
Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.konesans.com - Consultancy from the people who know
[quoted text, click to view] "Mark" <Mark@discussions.microsoft.com> wrote in message
news:E3ADB90F-5D9E-47FF-9A5C-40945D9A10D1@microsoft.com...
> Hi,
>
> I am trying to programatically run a DTS package from .Net (C#) and and
ideally would like to see the "Executing DTS Package" and "Package Execution
Results" windows displayed.
[quoted text, click to view] >
> I've reviewed dtsrun, dtsrunui utilities and KB319985 articles.
>
> If the dtsrun utilitity had a argument indicating to display "Executing
DTS Package" and "Package Execution Results" windows that would be work, but
it doesn't.
[quoted text, click to view] >
> If the dtsrunui utilitity accepted arguments for the server, package,
etc... that would be great, but it doesn't.
>
> I could use the package2Class.execute method with and the events as in
KB319985, but would have to write my own "Executing DTS Package" and
"Package Execution Results" windows.
[quoted text, click to view] >
> So my question is this - does anyony know how to programatically run a
DTS package from .Net (C#) and and get see the "Executing DTS Package" and
"Package Execution Results" windows displayed ?
[quoted text, click to view] >
> Thanks,
>
> Mark
>
>