Windows NT Service Constants (SQLDMO_SVCSTATUS_TYPE)
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
Windows NT service constants specify the execution state for services implementing Microsoft SQL Server components, such as the Microsoft Search service.
Constant |
Value |
Description |
|---|---|---|
SQLDMOSvc_Continuing |
6 |
The service execution state is in transition from paused to running. |
SQLDMOSvc_Paused |
2 |
Service execution is paused. |
SQLDMOSvc_Pausing |
7 |
The service execution state is in transition from running to paused. |
SQLDMOSvc_Running |
1 |
The service is running. |
SQLDMOSvc_Starting |
4 |
The service execution state is in transition from stopped to running. |
SQLDMOSvc_Stopped |
3 |
The service is stopped. |
SQLDMOSvc_Stopping |
5 |
The service execution state is in transition from running to stopped. |
SQLDMOSvc_Unknown |
0 |
The service execution state could not be determined. |