RuleSetting クラスのインスタンスを初期化します。
名前空間 : Microsoft.Data.Schema.StaticCodeAnalysis
アセンブリ : Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)
構文
'宣言
Public Sub New ( _
rule As Rule, _
enabled As Boolean, _
severity As ProblemSeverity _
)
'使用
Dim rule As Rule
Dim enabled As Boolean
Dim severity As ProblemSeverity
Dim instance As New RuleSetting(rule, enabled, _
severity)
public RuleSetting(
Rule rule,
bool enabled,
ProblemSeverity severity
)
public:
RuleSetting(
Rule^ rule,
bool enabled,
ProblemSeverity severity
)
public function RuleSetting(
rule : Rule,
enabled : boolean,
severity : ProblemSeverity
)
パラメータ
- rule
型 : Microsoft.Data.Schema.StaticCodeAnalysis.Rule
現在の設定が適用される規則を指定します。
- enabled
型 : System.Boolean
規則を有効にするか無効にするかを指定します。
- severity
型 : Microsoft.Data.Schema.StaticCodeAnalysis.ProblemSeverity
問題の重大度レベルを指定します。