Compartilhar via


MonitoringClass.GetMonitoringRules Method (BaseClassTraversalDepth)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring rule objects that target this monitoring class, optionally including the monitoring rule 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.GetRules")]
public ReadOnlyCollection<MonitoringRule> GetMonitoringRules(
    BaseClassTraversalDepth baseClassTraversalDepth
)
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")]
ReadOnlyCollection<MonitoringRule^>^ GetMonitoringRules(
    BaseClassTraversalDepth baseClassTraversalDepth
)
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")>]
member GetMonitoringRules : 
        baseClassTraversalDepth:BaseClassTraversalDepth -> ReadOnlyCollection<MonitoringRule>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")>
Public Function GetMonitoringRules (
    baseClassTraversalDepth As BaseClassTraversalDepth
) As ReadOnlyCollection(Of MonitoringRule)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringRule>

Returns a ReadOnlyCollection<T> of MonitoringRule objects.

See Also

GetMonitoringRules Overload
MonitoringClass Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top