Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables rules of a particular type.
Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)
Syntax
'Declaration
Public Sub EnableRule ( _
    ruleType As Type _
)
public void EnableRule(
    Type ruleType
)
public:
void EnableRule(
    Type^ ruleType
)
member EnableRule : 
        ruleType:Type -> unit
public function EnableRule(
    ruleType : Type
)
Parameters
- ruleType 
 Type: System.Type- The type of rule to enable. 
Remarks
When a rule is enabled, it can be raised.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.