PartialMonitoringObject::GetMonitoringRelationshipObjectsWhereSource Method (ICollection<MonitoringRelationshipClass^>^, DerivedClassTraversalDepth, TraversalDepth)
Applies To: Operations Manager for System Center 2012
Retrieves all the relationships for which this monitoring object is the source of the given relationship type, optionally including their derived types and including relationships in which the instances that this instance contains, via the Containment relationship type or above, are the source.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Use ManagementGrou.EntityObjects.GetMonitoringRelationshipObjectsWhereSource")] ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereSource( ICollection<MonitoringRelationshipClass^>^ relationshipClasses, DerivedClassTraversalDepth derivedClassTraversalDepth, TraversalDepth traversalDepth )
Parameters
- relationshipClasses
-
Type:
System.Collections.Generic::ICollection<MonitoringRelationshipClass^>^
The relationship types to get.
- derivedClassTraversalDepth
-
Type:
Microsoft.EnterpriseManagement.Configuration::DerivedClassTraversalDepth
A value that specifies whether to include the derived classes of the relationship classes.
- 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 MonitoringRelationshipObject objects.