Return to Snippet

Revision: 2438
at February 18, 2007 12:30 by rengber


Initial Code
ServiceController sc = new ServiceController("MSSQLSERVER", serverName); 
string sqlStatus = sc.Status.ToString();

Initial URL

                                

Initial Description

                                

Initial Title
Connect to a Server and Check Services Using WMI

Initial Tags

                                

Initial Language
C#