Compartilhar via


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

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