The properties of the ServiceController class are listed below. For a complete list of ServiceController class members, see the ServiceController Members topic.
CanPauseAndContinue | Tells if the service referenced by this object can be paused. |
CanShutdown | Tells if the service is notified when system shutdown occurs. |
CanStop | Tells if the service referenced by this object can be stopped. |
DependentServices | The set of services that depend on this service. These are the services that will be stopped if this service is stopped. |
DisplayName | The descriptive name shown for this service in the Service applet. |
MachineName | The name of the machine on which this service resides. |
ServiceName | Returns the short name of the service referenced by this object. |
ServicesDependedOn | [To be supplied.] |
ServiceType | Gets the type of service that this object references. |
Site (inherited from Component) | Gets or sets the site of the Component. |
Status | Gets the status of the service referenced by this object, e.g., Running, Stopped, etc. |