ManagementGroup::GetMonitoringRules Method ()

System Center
 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitoring rules.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

public:
[ObsoleteAttribute("Please use Monitoring.GetRules()")]
ReadOnlyCollection<MonitoringRule^>^ GetMonitoringRules()

The following example defines aManagementGroupinstance and retrieves its monitors, monitoring rules, and knowledge articles.

Return to top
Show: