Method ServiceController():queryAllServiceNames() Foundation

Query the names of all services which are currently installed on the system.

Syntax
:queryAllServiceNames() --> aServiceNames
Return

This class method returns an array of names of all services which are installed on the system.

Description

An application that controls a service has to take care of the service's status. One of the main tasks is to display all services which are currently installed on the system.

There are two approaches to find out whether or not a service is installed. One possibility is to scan the array returned by :queryAllServiceNames()for a particular service name, or a service controller is added for each service using the :addController() method and the status of a particular service is the obtaind from :getUpdatedControl().

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.