Method ServiceController():stop() Foundation
This class method stops the service.
:stop( <cName> ) --> lSuccess
This class method calls the instance method :logSuccess() and returns .T. (true) when the service is sucessfully stopped, otherwise it calls the instance method :logError() and .F. (false) is returned. The reason for a failure can be queried by calling the method :getLastError().
When this class method is called the Service Control Manager generates a Stop message to the service specified. This class method should be called prior to the class method :uninstall().
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.