Skip to content

Service_Exist

Checks if specified service exists

Service_Exist(sServiceName, bMustExist) As Boolean

Name of service

Service must exist

If bStatus Then bStatus = Service_Exist("ServiceName", False)
If bStatus Then bStatus = Job_WriteLog("Custom", "gbValue: " & gbValue, bStatus, True)

Scripting Guidelines

Service_GetState Service_SetLogonInformations Constants Package Property Variables