MonitoringClass.GetMonitoringDiagnostics Method (BaseClassTraversalDepth)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves diagnostic objects that target this monitoring class, optionally including the diagnostic objects that target the base classes of this class.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiagnostics")]
public ReadOnlyCollection<MonitoringDiagnostic> GetMonitoringDiagnostics(
BaseClassTraversalDepth baseClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiagnostics")]
ReadOnlyCollection<MonitoringDiagnostic^>^ GetMonitoringDiagnostics(
BaseClassTraversalDepth baseClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiagnostics")>]
member GetMonitoringDiagnostics :
baseClassTraversalDepth:BaseClassTraversalDepth -> ReadOnlyCollection<MonitoringDiagnostic>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetDiagnostics")>
Public Function GetMonitoringDiagnostics (
baseClassTraversalDepth As BaseClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringDiagnostic)
Parameters
baseClassTraversalDepth
Type: Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepthDetermines whether to also return diagnostic objects that target the base classes of this class. A value of None does not include base classes. A value of Recursive includes base classes.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringDiagnostic>
Returns a ReadOnlyCollection<T> of MonitoringDiagnostic objects.
See Also
GetMonitoringDiagnostics Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top