Service\_WaitForStart
Description
Section titled “Description”Wait for specified service to start
Syntax
Section titled “Syntax”Service_WaitForStart(sServiceName, iTimeOutInSec) As Boolean
Parameters
Section titled “Parameters”sServiceName (String)
Name of service
iTimeOutInSec (Integer)
How many seconds to wait for service to start
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Service_WaitForStart("Service", 90)Related functions
Section titled “Related functions”Service_Create Service_Exist Service_SetStartMode