Windows NT Machines Only
Encapsulates the AutoMate™ action in the “Services” group, “Continue a service.” The method attempts to continue a paused service.
Declaration
function ContService (varServiceName As Variant) As Integer
Parameters
varServiceName
The name of the service (as it appears in the SCM) to be continued.
Description
The ContService method attempts to continue the service named varServiceName. The service must have been previously paused, either through the SCM or by the PauseService method.
The method returns “0” if the service was continued successfully; otherwise it returns “1.” Use the GetLastError property to retrieve the error message generated by a failed continue attempt.