Utils_ServiceStopService Method |
Name | Description | |
---|---|---|
StopService(ManagementObject) |
Stops the service if it is running.
| |
StopService(ServiceController) |
Stops the service if it is running. This method will also wait for the service to be stopped.
|