Share via


PartialMonitoringObject.GetMonitoringRelationshipObjectsWhereSource Method (MonitoringRelationshipClass, DerivedClassTraversalDepth, TraversalDepth)

 

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 relationshipClasses collection.

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

Parameters

  • traversalDepth
    Type: Microsoft.EnterpriseManagement.Common.TraversalDepth

    A value that specifies the scope of the returned results. A value of OneLevel includes only instances of the specified class in the scope of the returned results. A value of Recursive includes instances of the specified class and all instances that are contained by those instances.

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringRelationshipObjectobjects.

See Also

GetMonitoringRelationshipObjectsWhereSource Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top