|Microsoft Operations Manager|
The PauseServicemethod sends a pause control code to a Windows NT service and verifies that the service has entered a paused state.
[VBScript] SCManager.PauseService (ServiceName Variant, [ComputerName Variant])
The PauseServicemethod times out after two minutes.
The SCManagerobject should not be used when creating new scripts. It is included only to support existing scripts. For more information about equivalent APIs, see Using Operating System APIs in Scripts.
Windows NT/2000: Requires Windows 2000 or later
Version: Requires MOM 1.0 SP1
Did you find this information useful? Please send your suggestions and comments about the documentation to firstname.lastname@example.org.