Share via


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

See Also

Reference

DataRuleAttribute Class

Microsoft.Data.Schema.StaticCodeAnalysis Namespace

DataRuleScope