MonitoringClass.GetMonitoringRecoveries Method (BaseClassTraversalDepth)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves the monitoring recovery objects that target this monitoring class, optionally including the monitoring recovery 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.GetRecoveries")]
public ReadOnlyCollection<MonitoringRecovery> GetMonitoringRecoveries(
BaseClassTraversalDepth baseClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRecoveries")]
ReadOnlyCollection<MonitoringRecovery^>^ GetMonitoringRecoveries(
BaseClassTraversalDepth baseClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRecoveries")>]
member GetMonitoringRecoveries :
baseClassTraversalDepth:BaseClassTraversalDepth -> ReadOnlyCollection<MonitoringRecovery>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRecoveries")>
Public Function GetMonitoringRecoveries (
baseClassTraversalDepth As BaseClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRecovery)
Parameters
baseClassTraversalDepth
Type: Microsoft.EnterpriseManagement.Configuration.BaseClassTraversalDepthDetermines whether to also return recovery 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<MonitoringRecovery>
Returns a ReadOnlyCollection<T> of MonitoringRecovery objects.
See Also
GetMonitoringRecoveries Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace
Return to top