DataRuleSetting Constructor (DataRule, Boolean, DataRuleProblemSeverity)
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
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
)
Parameters
- enabled
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.