Runtime Scripting Objects

This section contains the following objects:

Classes

Name Description

Alert

Use the Alert object to manipulate alerts provided by MOM through the ScriptContext.Alert property and alerts created by the script with the ScriptContext.CreateAlert method.

DiscoveryData

The DiscoveryData object represents a grouping of discovery-related information for a computer. Scripts populate the discovery data and submit the results to the Management Server.

DiscoveryCollection

The DiscoveryCollection object contains a group of discovery data items.

DiscoveryRelationshipCollection

The DiscoveryRelationshipCollection object represents a group of discovery relationship items.

DiscoveryClassInstanceID

The DiscoveryClassInstanceID object represents a discovery class instance.

DiscoveryInstance

The DiscoveryInstance object represents an instance of a discovery class.

DiscoveryRelationshipInstance

The DiscoveryRelationshipInstance object represents a computer discovery relationship.

Event

The Event object is the internal representation MOM uses for entries collected from NT Event logs, application log files, and other MOM data providers.

PerfData

Use the PerfData object to manipulate performance data provided by MOM through the ScriptContext.PerfData property and performance data created by the script with the ScriptContext.CreatePerfData method.

ScriptContext

Use the ScriptContext object to access and manipulate MOM alerts, events, performance data, and variable sets.

ScriptState

The ScriptState object represents the script state of MOM. You can use a ScriptState object as a store for script variables during the lifetime of the MOM service. When the service is stopped, all data stored in the ScriptState object is discarded.

VarSet

The VarSet object stores a group of variables that are globally accessible by all scripts running in MOM.