PartialMonitoringObjectBase::GetRelatedMonitoringObjects Method (ManagementPackClass^)
Applies To: Operations Manager for System Center 2012
Gets all the monitoring objects that are related to this object and the specified monitoring class.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public:
ReadOnlyCollection<MonitoringObject^>^ GetRelatedMonitoringObjects(
ManagementPackClass^ managementPackClass
)
Parameters
- managementPackClass
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPackClass^
Only monitoring objects that are related to this monitoring class are returned.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringObject^>^Returns a ReadOnlyCollection<T> of MonitoringObject objects.
Show: