The following tables list the members exposed by SvcControlManager.
Name | Description | |
---|---|---|
SvcControlManager Constructor | Constructs the SvcControlManager for the service name provided. |
Name | Description | |
---|---|---|
Create | Creates the specified service and returns a SvcControlManager for the service created | |
Delete | Stops/Deletes the specified service | |
Dispose | Disposes of the SvcControlManager | |
SetAccess | Replaces the access control list for the service. | |
SetDelayAutostart | Configures the service to use the delayed auto-start policy | |
SetDescription | Sets the description text of the service. | |
SetRestartOnFailure | Configures the service to auto-restart on failure | |
SetServiceExeArgs | Changes the service's executable and arguments | |
SetShutdownTimeout | Sets the service's default shutdown timeout period. | |
Start | Starts the service with the arguments specified and waits for the service to enter the running state. | |
Stop | Stops the service and waits for the service to enter the Stopped state. |