DataRuleAttribute.RuleScope Property
Gets or sets the scope for the associated rule.
Namespace: Microsoft.Data.Schema.StaticCodeAnalysis
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Property RuleScope As DataRuleScope
public DataRuleScope RuleScope { get; set; }
public:
property DataRuleScope RuleScope {
DataRuleScope get ();
void set (DataRuleScope value);
}
member RuleScope : DataRuleScope with get, set
function get RuleScope () : DataRuleScope
function set RuleScope (value : DataRuleScope)
Property Value
Type: Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleScope
A member of the DataRuleScope enumeration.
.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.