Provides access to the name of the performance object counter used to report the performance data.
ScriptContext.PerfData.CounterName ScriptContext.CreatePerfData.CounterName
Read Only | When used with performance data provided to the script by the Microsoft Operations Manager 2000 product. |
Read/Write | When used with new performance data created with the ScriptContext.CreatePerfData Method. |
String.
To access the name of the performance object counter used to report the performance data provided to the script by Microsoft Operations Manager 2000, enter:
Dim MYperfdata Dim MYcountername set MYperfdata = ScriptContext.PerfData set MYcountername = MYPerfData.CounterName