Represents a relationship between two monitoring classes.

When a relationship type is declared in a Management Pack it must use one of the following three base relationship types:

All relationship types require a source class and a target class. The source and target objects must have been created by the MOMDiscoveryData.CreateClassInstance method of the discovery data object.

An example of this object is shown in the CreateRelationshipInstance method.

Methods

Name Description

MOMRelationshipInstance.AddProperty

Adds a new property value to the relationship instance.

Properties

Name Description

MOMRelationshipInstance.Source

Gets or sets the value of the relationship instance source.

MOMRelationshipInstance.Target

Gets or sets the monitoring object to which this relationship instance is targeted.

Requirements

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

Version: Requires Operations Manager 2007

See Also


Send comments about this topic to Microsoft.