IsServiceActive(System.Guid) Method
The IsServiceActive method of the Server class reports whether at least one instance of the specified Service class is active on the server.
Parameters
serviceClass The class of Service object to check.
Return Value
true if at least one instance of the specified Service object is active on the server; otherwise, false.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security