Compartilhar via


ManagementPackRuleOverride Class

Defines an override for a rule. You can use this type to find the identifier for the rule that has the override and the override value. Cast an object of this type as one of the derived types to access override information such as the rule property or configuration parameter that is overridden. For a list of derived classes, see the inheritance hierarchy.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

'Usage
Dim instance As ManagementPackRuleOverride

Syntax

'Declaration
<SerializableAttribute> _
Public MustInherit Class ManagementPackRuleOverride
    Inherits ManagementPackOverride
[SerializableAttribute] 
public abstract class ManagementPackRuleOverride : ManagementPackOverride
[SerializableAttribute] 
public ref class ManagementPackRuleOverride abstract : public ManagementPackOverride
/** @attribute SerializableAttribute() */ 
public abstract class ManagementPackRuleOverride extends ManagementPackOverride
SerializableAttribute 
public abstract class ManagementPackRuleOverride extends ManagementPackOverride

Example

For an example of creating an override for a rule, see How to Create an Override for a Rule.

For example code that demonstrates how to get information about an override, see How to Get Information about an Override.

Remarks

Overrides are used to change the default values for properties and parameters of rules in Operations Manager.

Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Configuration.ManagementPackItem
     Microsoft.EnterpriseManagement.Configuration.ManagementPackElement
       Microsoft.EnterpriseManagement.Configuration.ManagementPackOverride
        Microsoft.EnterpriseManagement.Configuration.ManagementPackRuleOverride
           Microsoft.EnterpriseManagement.Configuration.ManagementPackRuleConfigurationOverride
           Microsoft.EnterpriseManagement.Configuration.ManagementPackRulePropertyOverride

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also

Reference

ManagementPackRuleOverride Members
Microsoft.EnterpriseManagement.Configuration Namespace

Send comments about this topic to Microsoft.