IMonitoringConfigurationManagement.GetRules Method (IEnumerable, ManagementPackRuleCriteria)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Retrieves rules for the targeted instances based on the criteria
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As IMonitoringConfigurationManagement
Dim monitoringObjects As IEnumerable(Of T)
Dim criteria As ManagementPackRuleCriteria
Dim returnValue As IList(Of ManagementPackRule)
returnValue = instance.GetRules(monitoringObjects, criteria)
Syntax
'Declaration
Function GetRules(Of T As EnterpriseManagementObject) ( _
monitoringObjects As IEnumerable(Of T), _
criteria As ManagementPackRuleCriteria _
) As IList(Of ManagementPackRule)
IList<ManagementPackRule> GetRules<T> (
IEnumerable<T> monitoringObjects,
ManagementPackRuleCriteria criteria
) where T : EnterpriseManagementObject
generic<typename T> where T : EnterpriseManagementObject
IList<ManagementPackRule^>^ GetRules (
IEnumerable<T>^ monitoringObjects,
ManagementPackRuleCriteria^ criteria
)
GenericParameters
- T
Parameters
- monitoringObjects
The targeted instances.
- criteria
The search criteria.
Return Value
Returns IList.
The rules for the targeted instances based on the criteria
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
IMonitoringConfigurationManagement Interface
IMonitoringConfigurationManagement Members
Microsoft.EnterpriseManagement Namespace