Performance Monitor Constants (SQLDMO_PERFMON_TYPE)

SQL-DMO

SQL-DMO

Performance Monitor Constants (SQLDMO_PERFMON_TYPE)

Performance monitor constants describe Microsoft® Windows NT® Performance Monitor polling behavior. The Windows NT Performance Monitor can poll continuously or when directed by the user.

The polling behavior of the Windows NT Performance Monitor can be changed after the application has started successfully.

Constant Value Description
SQLDMOPerfmon_Continuous 0 Configures Windows NT Performance Monitor statistics polling using the operating system default time slice
SQLDMOPerfmon_MaxSet 1 SQLDMOPerfmon_OnDemand
SQLDMOPerfmon_MinSet 0 SQLDMOPermon_Continuous
SQLDMOPerfmon_None 1000 Invalid value
SQLDMOPerfmon_OnDemand 1 Windows NT Performance Monitor polls for statistics when directed to do so by the user

See Also

PerfMonMode Property