<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > OS (Operating System) > OS_Service > OS_ServiceQuery |
Description
Get the service status.
Syntax
n = OS_ServiceQuery( [ComputerName, ] ServiceName)
Returns
Number.
See OS Equates for possible return values
Parameters
Name |
Type |
Optional |
Meaning |
ComputerName |
String |
Yes |
Name of the computer on the LAN. If missed function will work on local computer |
ServiceName |
String |
No |
Name of the service |
Remarks
Restrictions
Functionality tested only on LAN.
See also
Examples