Platform SDK: Performance Monitoring

SystemMonitor.ReportValueType

Retrieves or sets a value that indicates the type of statistics to be displayed when Report or Histogram View is selected. This is a read/write property.

Public Property ReportValueType( ) as Integer

Remarks

You can set ReportValueType to an enumeration consisting of the following integer values.

Constant (value) Meaning
sysmonDefaultValue (0) Default values will be displayed.
sysmonCurrentValue (1) Current values will be displayed.
sysmonAverage (2) Average values will be displayed.
sysmonMinimum (3) Minimum values will be displayed.
sysmonMaximum (4) Maximum values will be displayed.

The default value of this property for current data is sysmonCurrentValue, and the default value of this property for log file data is sysmonAverage.

Return Values

A value indicating the type of statistics that are displayed when Report or Histogram View is selected.

Example

Graph1.ReportValueType=sysmonAverage
if (sysmonAverage=Graph1.ReportValueType) then
    …
endif

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Smonctrl.odl.

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties