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
)
參數
- enabled
型別:System.Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。