Represents a monitoring object, which is an instance of a monitoring class.

Methods

Name Description

MOMClassInstance.AddProperty

Adds a named value to the monitoring object.

Properties

None.

Requirements

Platforms: Requires Windows Server 2003, Windows Vista, or Windows Server 2008

Version: Requires Operations Manager 2007

Remarks

The object is created by the MOMDiscoveryData.CreateClassInstance method. The MOMClassInstance object is sent to the Management Server by passing the object in the MOMScriptAPI.Return Method method.

After the object is created, the properties can be set. Key properties must be added before the object is sent to Operation Manager. If the key properties are not sent, a failure is logged in the event log when the data is submitted. The object must be added to the discovery data by using the MOMDiscoveryData.AddInstance method.

An example of this object is shown in the MOMDiscoveryData.CreateClassInstance method.

See Also


Send comments about this topic to Microsoft.