"Phil Roue" <(E-Mail Removed)> wrote in message
news:FB072F5A-12CF-4D3D-8F1D-(E-Mail Removed)...
> Thanks, David. The service is SQL Agent, which we are presuming to have
> already been installed independently of our own software.
>
> We need to ensure that SQL Agent starts automatically, and want to set
this
> property ourselves programmatically. This is possible using the Windows
> SDK, but I was hoping it can be done through .net as well.
WMI should be able to do this. Look at the System.Management namespace.
There are probably some examples somewhere, but I don't have any to give
you.
|