Provides access to the PerfData data object that caused Microsoft Operations Manager 2000 (MOM) to invoke the script.
ScriptContext.PerfData
Read only.
PerfData.
To access the PerfData object that caused MOM to invoke the script, enter:
If ScriptContext.IsPerfData then Dim MYperfdata Set MYperfdata = ScriptContext.PerfData End If
This example first uses the IsPerfData method to determine whether the object that caused MOM to invoke the script was a PerfData object.