|
|
|
|
|
ServiceList (Function) In french: ServiceListe Returns the list of services found on the current computer or on the specified remote computer. sService_Liste is string
TableDeleteAll(TABLE_Service)
sService_Liste = ServiceList()
IF sService_Liste <> "" THEN
FOR EACH STRING sServiceInfo OF sService_Liste SEPARATED BY CR
TableAdd(TABLE_Service, sServiceInfo)
END
ELSE
Error(ErrorInfo(errFullDetails))
END
Syntax
<Result> = ServiceList([<Remote computer>])
<Result>: Character string - List of services, returned according to the following format:
<Name of Service 1> + TAB + <Description of Service 1> + CR + ... + <Name of Service N> + TAB + <Description of Service N> - Empty string ("") if an error occurred. To get more details on the error, use ErrorInfo.
<Remote computer>: Optional character string IP address of the remote computer in xxx.xxx.xxx.xxx format (returned by NetIPAddress) or name of the remote computer (returned by NetMachineName). This parameter is used to list the services found on another computer. To use this option, the user may not be administrator of remote computer (he must at least have the rights to list the services on this computer). If this parameter is not specified or is an empty string (""), the service is handled locally.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|