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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。