ManagementGroup::GetMonitoringRules<T> Method (ManagementPackRuleCriteria^, ICollection<T>^)

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves the monitoring rules that match the specified filter and that target the specified monitoring objects.

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

public:
generic<typename T>
where T : PartialMonitoringObject
[ObsoleteAttribute("Please use Monitoring.GetRules<T>()")]
ReadOnlyCollection<MonitoringRule^>^ GetMonitoringRules(
	ManagementPackRuleCriteria^ criteria,
	ICollection<T>^ monitoringObjects
)

Parameters

criteria
Type: Microsoft.EnterpriseManagement.Configuration::ManagementPackRuleCriteria^

A value that specifies the kind of monitoring rules.

monitoringObjects
Type: System.Collections.Generic::ICollection<T>^

The monitoring reports that target these specified monitoring object instances.

Type Parameters

T

Must be of type PartialMonitoringObject.

Return to top
Show: