PartialMonitoringObject.GetMonitoringRelationshipObjectsWhereSource Method (MonitoringRelationshipClass, DerivedClassTraversalDepth)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Gets the relationships for which this partial monitoring object is a source in the relationship, filtered by the relationshipClass object. Gets the relationships from the current PartialMonitoringObject object, or optionally from all derived classes.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")]
public ReadOnlyCollection<MonitoringRelationshipObject> GetMonitoringRelationshipObjectsWhereSource(
    MonitoringRelationshipClass relationshipClass,
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")]
ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereSource(
    MonitoringRelationshipClass^ relationshipClass,
    DerivedClassTraversalDepth derivedClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")>]
member GetMonitoringRelationshipObjectsWhereSource : 
        relationshipClass:MonitoringRelationshipClass *
        derivedClassTraversalDepth:DerivedClassTraversalDepth -> ReadOnlyCollection<MonitoringRelationshipObject>
<ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")>
Public Function GetMonitoringRelationshipObjectsWhereSource (
    relationshipClass As MonitoringRelationshipClass,
    derivedClassTraversalDepth As DerivedClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRelationshipObject)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRelationshipObject>

Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.

Remarks

Gets the relationships for which this partial monitoring object is a source in the relationship, filtered by the relationshipClass object. Gets the relationships from the current PartialMonitoringObject object, or optionally from all derived classes. The returned collection contains the monitoring relationship objects that have as a source the PartialMonitoringObject object and the class is the same as the relationshipClass object.

The derivedClassTraversalDepth specifies whether to return the relationship object from derived classes. A depth of None specifies not to traverse down to the derived classes in the inheritance hierarchy, and a Recursive depth specifies that all derived classes are to be searched.

See Also

GetMonitoringRelationshipObjectsWhereSource Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top