MonitoringClass.GetMonitoringRules Method ()
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves all the monitoring rule objects that target this monitoring class.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")]
public ReadOnlyCollection<MonitoringRule> GetMonitoringRules()
public:
[ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")]
ReadOnlyCollection<MonitoringRule^>^ GetMonitoringRules()
[<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")>]
member GetMonitoringRules : unit -> ReadOnlyCollection<MonitoringRule>
<ObsoleteAttribute("Use ManagementGroup.Monitoring.GetRules")>
Public Function GetMonitoringRules As ReadOnlyCollection(Of MonitoringRule)
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