DataRuleSetting Class
Contains the settings for a specific rule and a specific configuration.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleSetting
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class DataRuleSetting
public sealed class DataRuleSetting
public ref class DataRuleSetting sealed
[<Sealed>]
type DataRuleSetting = class end
public final class DataRuleSetting
The DataRuleSetting type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DataRuleSetting(DataRule) | Creates a new instance of the DataRuleSetting class. | |
DataRuleSetting(DataRule, Boolean, DataRuleProblemSeverity) |
Top
Properties
Name | Description | |
---|---|---|
Enabled | Gets a value that indicates whether the instance is enabled. | |
Rule | Gets the associated DataRule to which the setting values apply. | |
Severity | Gets a value that indicates the severity level for any problems that are caused by using these settings. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Returns a value that indicates whether the provided data rule setting is equal to the current instance. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
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.