ScriptContext.PerfData Property
Gets the PerfData object that caused MOM to invoke the script.
ScriptContext.PerfData
Access
Read/Write
Return Value
Object
Examples
The following example shows how to access the PerfData object that caused MOM to invoke the script.
Function GetPerfData()
Dim objPerfData
If (ScriptContext.IsPerfData()) then
Set objPerfData = ScriptContext.PerfData
Else
Set objPerfData = Nothing
End If
Set GetPerfData = objPerfData
End Function
Requirements
Platforms: Requires Windows 2000 or later
Version: Requires MOM 2000 or later