Freigeben über


PartialMonitoringObject.GetMonitoringRelationshipObjectsWhereSource Method (ICollection<MonitoringRelationshipClass>, DerivedClassTraversalDepth)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves all the relationships for which this monitoring object is the source of the given relationship type, optionally including their derived types.

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

Syntax

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

Parameters

Return Value

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

Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.

See Also

GetMonitoringRelationshipObjectsWhereSource Overload
PartialMonitoringObject Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top