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