Navigation:  thinBasic Modules > OS (Operating System) > OS_Service ... >

OS_ServiceSetStartType

Previous pageReturn to chapter overviewNext page

 

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

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com