/
Service_GetState
Service_GetState
Description
Gets state of specified service
Syntax
Service_GetState(sServiceName) As Boolean
Parameters
sServiceName (String)
Name of service
Return value
Result will be stored in gsValue. Service Controller Status constants
Example
VBScript
If bStatus Then bStatus = Service_GetState("Service") If bStatus Then bStatus = Job_WriteLog("Custom", "gsValue: " & gsValue, bStatus, True)
Related functions
, multiple selections available,
Related content
Service_Stop
Service_Stop
Read with this
Service_GetState
Service_GetState
More like this
Service_GetState
Service_GetState
More like this
Service_Exist
Service_Exist
More like this
Service_Exist
Service_Exist
More like this
Service_Exist
Service_Exist
More like this