ManagementGroup::GetRelatedPartialMonitoringObjects<T> Method (ICollection<T>^, MonitoringClass^)
System Center
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.Namespace:
Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Return to top
Retrieves a collection of the partial monitoring object instances for the specified class that are related to the specified monitoring objects.
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<PartialMonitoringObject^>^>^ GetRelatedPartialMonitoringObjects( ICollection<T>^ monitoringObjects, MonitoringClass^ monitoringClass )
Parameters
- monitoringObjects
-
Type:
System.Collections.Generic::ICollection<T>^
The monitoring objects to find related objects for.
- monitoringClass
-
Type:
Microsoft.EnterpriseManagement.Configuration::MonitoringClass^
The monitoring class, with all its derived classes, that defines the range of the returned results.
Return Value
Type: System.Collections.Generic::Dictionary<T, ReadOnlyCollection<PartialMonitoringObject^>^>^Returns aDictionary<TKey, TValue> object ofPartialMonitoringObject objects.
Type Parameters
- T
Must be of type PartialMonitoringObject.
Show: