Редагувати

Поділитися через


Counters collection

Use this class to manage the collection of CounterItem objects.

To retrieve this object, call SystemMonitor.Counters.

Members

The Counters collection has these types of members:

Methods

The Counters collection has these methods.

Method Description
Add Adds a CounterItem instance to the collection.
Remove Removes a CounterItem instance from the collection.

Properties

The Counters collection has these properties.

Property Description
Count
Retrieves the number of CounterItem instances in the collection.
Item
Retrieves the specified CounterItem instance from the collection.

Remarks

The Counters object is the default property of the SystemMonitor object.

Add to this collection those counters that you want to graph. SYSMON retrieves the counter values either from the system or from a log file depending on the data source that you specify.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Isysmon.h
DLL
Sysmon.ocx