PerfData Property

Provides access to the PerfData data object that caused Microsoft Operations Manager 2000 (MOM) to invoke the script.

Syntax

ScriptContext.PerfData

Access

Read only.

Return Type

PerfData.

Example

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.