DataRuleAttribute.RuleScope 属性

获取或设置相关规则的范围。

命名空间:  Microsoft.Data.Schema.StaticCodeAnalysis
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
Public Property RuleScope As DataRuleScope
    Get
    Set
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)

属性值

类型:Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleScope
DataRuleScope 枚举的成员。

.NET Framework 安全性

请参见

参考

DataRuleAttribute 类

Microsoft.Data.Schema.StaticCodeAnalysis 命名空间

DataRuleScope