Platform SDK: Performance Monitoring

SystemMonitor.MonitorDuplicateInstances

Retrieves or sets a value that indicates whether the control allows monitoring of multiple instances of counters. This is a read/write property.

Public Property MonitorDuplicateInstances( ) as Boolean

Remarks

The default value of this property is True, meaning that multiple instances of counters can be monitored. For example, if two instances of Microsoft Excel are running and the value of this property is True, both instances of Excel can be monitored.

Return Values

A value indicating whether the control is allowing monitoring of multiple instances of counters.

Example

Graph1.MonitorDuplicateInstances=False

Requirements

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

See Also

System Monitor Automation Interface Overview, System Monitor Automation Interface Properties