Performance Monitor Constants (SQLDMO_PERFMON_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.
Performance monitor constants describe Performance Monitor polling behavior in Microsoft Windows. Performance Monitor can poll continuously or when directed by the user.
The polling behavior of Performance Monitor can be changed after the application has started successfully.
Constant |
Value |
Description |
|---|---|---|
SQLDMOPerfmon_Continuous |
0 |
Configures Performance Monitor statistics polling using the operating system default time slice. |
SQLDMOPerfmon_MaxSet |
1 |
SQLDMOPerfmon_OnDemand. |
SQLDMOPerfmon_MinSet |
0 |
SQLDMOPermon_Continuous. |
SQLDMOPerfmon_None |
1000 |
The value is not valid. |
SQLDMOPerfmon_OnDemand |
1 |
Performance Monitor polls for statistics when directed to do so by the user. |