ManagementGroup::GetRelatedMonitoringObjects<T> Method (ICollection<T>^, MonitoringRelationshipClass^)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: generic<typename T> where T : PartialMonitoringObjectBase [ObsoleteAttribute("Please use EntityObjects.GetRelatedObjects<T>()")] Dictionary<T, ReadOnlyCollection<MonitoringObject^>^>^ GetRelatedMonitoringObjects( ICollection<T>^ monitoringObjects, MonitoringRelationshipClass^ relationshipClass )
Parameters
- monitoringObjects
-
Type:
System.Collections.Generic::ICollection<T>^
The monitoring objects to find related objects for.
- relationshipClass
-
Type:
Microsoft.EnterpriseManagement.Configuration::MonitoringRelationshipClass^
The relationship class that is used in the search for related monitoring objects.
Return Value
Type: System.Collections.Generic::Dictionary<T, ReadOnlyCollection<MonitoringObject^>^>^Returns aDictionary<TKey, TValue> object ofMonitoringObject objects.
Type Parameters
- T
Must be of type PartialMonitoringObject.
Show: