RuleConfiguration Class
Updated: April 20, 2017
Specifies how a rule should be configured - should this be enabled or disabled? What severity should be applied for the rule?
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Microsoft.SqlServer.Dac.CodeAnalysis::RuleConfiguration
Microsoft.SqlServer.Dac.CodeAnalysis::RuleDescriptor
| Name | Description | |
|---|---|---|
![]() | Enabled | Gets or sets a value that indicates whether the rule is enabled and should be included in the code analysis. The default value is true. |
![]() | Namespace | Gets the namespace for the rule. This is the part of the rule that precedes the final "." in the ID name. For instance for a rule ID "My.Org.MyRuleName", the namespace would be "My.Org". |
![]() | RuleId | Gets the unique ID used to identify the rule. This is the fully qualified ID, which would usually be in the form "My.Org.MyRuleName". |
![]() | Severity | Gets the severity of the rule. The default severity is Warning |
![]() | ShortRuleId | Gets the last part of the rule ID. This is the part of the rule that follows the final "." in the ID name. For instance for a rule ID "My.Org.MyRuleName", the short rule ID would be "MyRuleName". |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


