Determines whether the object provided to the script by Microsoft Operations Manager 2000 is a PerfData object.
ScriptContext.IsPerfData
None.
Boolean.
To determine whether the object provided to the script by MOM is a PerfData object, enter:
Dim MYperfdata If ScriptContext.IsPerfData then Set MYperfdata = ScriptContext.PerfData End If
This example gets the PerfData object with the PerfData property after determining whether the object is a PerfData object.