PartialMonitoringObject::GetMonitoringRelationshipObjectsWhereTarget Method (ICollection<MonitoringRelationshipClass^>^, DerivedClassTraversalDepth)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Gets the relationships for which this partial monitoring object is a target in the relationship, filtered by the relationshipClasses collection. Gets the relationships from the current PartialMonitoringObject object, and optionally from all derived classes.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: [ObsoleteAttribute("Use ManagementGroup.EntityObjects.GetMonitoringRelationshipObjectsWhereTarget")] ReadOnlyCollection<MonitoringRelationshipObject^>^ GetMonitoringRelationshipObjectsWhereTarget( ICollection<MonitoringRelationshipClass^>^ relationshipClasses, DerivedClassTraversalDepth derivedClassTraversalDepth )
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 class in the returned objects.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringRelationshipObject^>^Returns ReadOnlyCollection<T> of MonitoringRelationshipObject objects.
Show: