共用方式為


DataRuleSetting 建構函式 (DataRule, Boolean, DataRuleProblemSeverity)

命名空間:  Microsoft.Data.Schema.StaticCodeAnalysis
組件:  Microsoft.Data.Schema (在 Microsoft.Data.Schema.dll 中)

語法

'宣告
Public Sub New ( _
    rule As DataRule, _
    enabled As Boolean, _
    severity As DataRuleProblemSeverity _
)
public DataRuleSetting(
    DataRule rule,
    bool enabled,
    DataRuleProblemSeverity severity
)
public:
DataRuleSetting(
    DataRule^ rule, 
    bool enabled, 
    DataRuleProblemSeverity severity
)
new : 
        rule:DataRule * 
        enabled:bool * 
        severity:DataRuleProblemSeverity -> DataRuleSetting
public function DataRuleSetting(
    rule : DataRule, 
    enabled : boolean, 
    severity : DataRuleProblemSeverity
)

參數

.NET Framework 安全性

請參閱

參考

DataRuleSetting 類別

DataRuleSetting 多載

Microsoft.Data.Schema.StaticCodeAnalysis 命名空間