Microsoft Operations Manager |
The SCManagerobject controls services on the computer. This object has been deprecated and should not be used when creating new scripts. It is included only to support existing scripts. For new scripts, see Using Operating System APIs in Scripts.
Name | Description |
---|---|
Starts and stops the specified Microsoft Windows NT service and queries the service status to ensure that the service has started. |
|
Sends a continue control code to a Windows NT service and verifies that the service has entered a running state. |
|
Gets the most recent error description for the SCManagerobject. |
|
Gets the configuration parameters of the specified service. |
|
Gets the status of the specified service. |
|
Sends a pause control code to a Windows NT service and verifies that the service has entered a paused state. |
|
Sends a service start control request to the specified Windows NT service and queries the service status to ensure that the service has started. |
|
Sends a service stop control request to the specified Windows NT service and queries the service status to ensure that the service has stopped. |
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 momsdk@microsoft.com.