Поделиться через


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
Public method DataRuleSetting(DataRule) Creates a new instance of the DataRuleSetting class.
Public method DataRuleSetting(DataRule, Boolean, DataRuleProblemSeverity)

Top

Properties

  Name Description
Public property Enabled Gets a value that indicates whether the instance is enabled.
Public property Rule Gets the associated DataRule to which the setting values apply.
Public property Severity Gets a value that indicates the severity level for any problems that are caused by using these settings.

Top

Methods

  Name Description
Public method Equals Returns a value that indicates whether the provided data rule setting is equal to the current instance. (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 Serves as a hash function for a particular type. (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

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.

See Also

Reference

Microsoft.Data.Schema.StaticCodeAnalysis Namespace

DataRule