Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServiceController Properties

The ServiceController type exposes the following members.

  Name Description
Public property CanPauseAndContinue Gets a value indicating whether the service can be paused and resumed.
Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property CanShutdown Gets a value indicating whether the service should be notified when the system is shutting down.
Public property CanStop Gets a value indicating whether the service can be stopped after it has started.
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Public property DependentServices Gets the set of services that depends on the service associated with this ServiceController instance.
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public property DisplayName Gets or sets a friendly name for the service.
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property MachineName Gets or sets the name of the computer on which this service resides.
Public property ServiceHandle Gets the handle for the service.
Public property ServiceName Gets or sets the name that identifies the service that this instance references.
Public property ServicesDependedOn The set of services that this service depends on.
Public property ServiceType Gets the type of service that this object references.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property Status Gets the status of the service that is referenced by this instance.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.