Share via


RuleSetting Members

Include Protected Members
Include Inherited Members

Stores the settings for a particular rule in a particular configuration.

The RuleSetting type exposes the following members.

Constructors

 

Name

Description

Public method

RuleSetting

Overloaded. Initializes an instance of the RuleSetting class.

Top

Methods

 

Name

Description

Public method

Equals

Returns whether the rule setting is equivalent between two objects. (Overrides Object.Equals(Object).)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code value for the rule setting. (Overrides Object.GetHashCode().)

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Top

Properties

 

Name

Description

Public property

Enabled

Gets or sets whether the rule is enabled.

Public property

Rule

Gets the rule associated with the current rule setting.

Public property

Severity

Gets or sets the problem severity detected by the rule.

Top

See Also

Reference

RuleSetting Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace