<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > OS (Operating System) > OS_Service > OS_ServiceSetStartType |
Description
Set the service start type.
Syntax
n = OS_ServiceSetStartType( [ComputerName, ] ServiceName, StartType)
Returns
Numeric.
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 |
StartType |
Numeric |
No |
Start type. See OS Equates for possible values. |
Remarks
Restrictions
Functionality tested only on LAN.
See also
Examples