DiscoveryRelationship
Applies To: Operations Manager 2007 R2, System Center Operations Manager 2007
Declares the relationship type of the instances to be discovered.
Schema Hierarchy
ManagementPack
Monitoring
Discoveries
Discovery
DiscoveryTypes
DiscoveryRelationship
Syntax
<DiscoveryRelationship TypeID=”RelationshipTypeID”>
<Property TypeID=”RelationshipTypeID” PropertyID=”PropertyID”/>
</DiscoveryRelationship>
Attributes and Elements
The following sections describe attributes, child elements, and the parent element of the DiscoveryRelationship element.
Attributes
Attribute | Description |
---|---|
TypeID |
Required attribute. The ID of the relationship type to be discovered. |
Child Elements
Element | Description |
---|---|
Optional element. Represents a relationship type property to be populated at discovery. |
Parent Elements
Element | Description |
---|---|
Contains the class and/or relationship type IDs that the discovery will discover. |
Remarks
Example
The following XML sample illustrates a DiscoveryRelationship element and the referenced RelationshipType element to be discovered. To see the entire discovery definition, see Discovery.
<RelationshipType ID="Microsoft.SystemCenter.ComputerGroupContainsComputer" Accessibility="Public" Abstract="false" Base="System!System.Containment">
<Source>Microsoft.SystemCenter.ComputerGroup</Source>
<Target>System!System.Computer</Target>
</RelationshipType>
<DiscoveryRelationship TypeID="SC!Microsoft.SystemCenter.ComputerGroupContainsComputer" />