| title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CounterItem.GetStatistics method |
Retrieves the average, maximum, and minimum values for the counter. |
fb55d68b-1dbe-48b1-88c8-51f33048ec24 |
|
|
|
|
|
reference |
05/31/2018 |
Retrieves the average, maximum, and minimum values for the counter.
CounterItem.GetStatistics( _
ByRef max As Double, _
ByRef min As Double, _
ByRef average As Double, _
ByRef status As Long _
)-
max [out]
-
Maximum value of the counter.
-
min [out]
-
Minimum value of the counter.
-
average [out]
-
Average value of the counter.
-
status [out]
-
Indicates if the values are valid.
Value Meaning - 0
The values are valid. - 0xC0000BBA (3221228474)
The values are not valid.
This method does not return a value.
Only those counter values that are visible in the graph window are used to calculate the statistical values.
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 2000 Professional [desktop apps only] |
| Minimum supported server |
Windows 2000 Server [desktop apps only] |
| DLL |
|