DataRuleSetting Constructor (DataRule)
Creates a new instance of the DataRuleSetting class.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
rule As DataRule _
)
public DataRuleSetting(
DataRule rule
)
public:
DataRuleSetting(
DataRule^ rule
)
new :
rule:DataRule -> DataRuleSetting
public function DataRuleSetting(
rule : DataRule
)
Parameters
- rule
Type: Microsoft.Data.Schema.StaticCodeAnalysis.DataRule
A DataRule object.
.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.