Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As IMonitoringConfigurationManagement Dim managementPackClass As ManagementPackClass Dim criteria As ManagementPackRuleCriteria Dim baseClassTraversalDepth As BaseClassTraversalDepth Dim returnValue As IList(Of ManagementPackRule) returnValue = instance.GetRules(managementPackClass, criteria, baseClassTraversalDepth) |
Syntax
Visual Basic |
---|
Function GetRules ( _ managementPackClass As ManagementPackClass, _ criteria As ManagementPackRuleCriteria, _ baseClassTraversalDepth As BaseClassTraversalDepth _ ) As IList(Of ManagementPackRule) |
C# |
---|
IList<ManagementPackRule> GetRules ( ManagementPackClass managementPackClass, ManagementPackRuleCriteria criteria, BaseClassTraversalDepth baseClassTraversalDepth ) |
C++ |
---|
IList<ManagementPackRule^>^ GetRules ( ManagementPackClass^ managementPackClass, ManagementPackRuleCriteria^ criteria, BaseClassTraversalDepth baseClassTraversalDepth ) |
J# |
---|
IList<ManagementPackRule> GetRules ( ManagementPackClass managementPackClass, ManagementPackRuleCriteria criteria, BaseClassTraversalDepth baseClassTraversalDepth ) |
JScript |
---|
function GetRules ( managementPackClass : ManagementPackClass, criteria : ManagementPackRuleCriteria, baseClassTraversalDepth : BaseClassTraversalDepth ) : IList<ManagementPackRule> |
Parameters
- managementPackClass
-
The target class.
- criteria
-
The search criteria.
- baseClassTraversalDepth
-
Indicates whether or not to include this class’s base classes as targets for the diagnostic.
Return Value
Returns IList. All the rules targeted toward this class.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.