SystemCounters Collection > Methods > Add Method
Add Method
Description
Adds the specified system counter to the collection.
Syntax
Visual Basic
Public Sub Add( _
   ByVal CounterName As String, _
   ByVal Limit As Single _
) 
Parameters
CounterName

The name of the counter you want to monitor.

Limit
The maximum limit allowed for this counter. If this value is exceeded during the run session, the run will fail.  Enter -1 to indicate no limit.
Example
See Also