ManagementGroup::GetMonitoringDiagnostics<T> Method (ManagementPackDiagnosticCriteria^, ICollection<T>^)
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 diagnostic objects that match the specified filter and target the specified monitoring objects.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
public: generic<typename T> where T : PartialMonitoringObject [ObsoleteAttribute("Please use Monitoring.GetDiagnostics<T>()")] ReadOnlyCollection<MonitoringDiagnostic^>^ GetMonitoringDiagnostics( ManagementPackDiagnosticCriteria^ criteria, ICollection<T>^ monitoringObjects )
Parameters
- criteria
-
Type:
Microsoft.EnterpriseManagement.Configuration::ManagementPackDiagnosticCriteria^
A value that specifies the kind of diagnostics to be returned.
- monitoringObjects
-
Type:
System.Collections.Generic::ICollection<T>^
The diagnostic objects that target these monitoring objects.
Return Value
Type: System.Collections.ObjectModel::ReadOnlyCollection<MonitoringDiagnostic^>^Returns aReadOnlyCollection<T> object ofMonitoringDiagnostic objects.
Type Parameters
- T
Must be of type PartialMonitoringObject
Show: