Sends a continue control code to a Windows NT service and verifies that the service has entered a running state. This method will time out after 2 minutes.
obj.ContinueService (ServiceName String, [ComputerName String]) Where obj is an OpScrUtil.SCManager object.
ServiceName
|
Specifies the name of the service to continue. |
ComputerName
|
Specifies target computer. This parameter is optional. If not specified or an empty string, the local computer is the target. |
Boolean.
To continue the messenger
service
on the SERVER876
computer, enter:
Set obj = CreateObject("OpScrUtil.SCManager") bOK = obj.ContinueService("Messenger", "SERVER876")