Method ServiceController():uninstall() Foundation

Uninstall a service on the system.

Syntax
:uninstall( <cName> ) --> lSuccess
Parameters
<cName>
The name of the service which shall be uninstalled.
Return

This class method calls the instance method :logSuccess() and returns .T. (true) when the service is sucessfully uninstalled, otherwise it calls the instance method :logError() and .F. (false) is returned.

Description

This class method removes the service from the system. When this method is called, the service is no longer accessible.

It is recommended to call this class method only after the service is stopped using the class method :stop(). To uninstall a service is only possible while it is not running.

Feedback

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.