DataRuleAttribute.RuleScope (Propiedad)

Obtiene o establece el ámbito para la regla asociada.

Espacio de nombres:  Microsoft.Data.Schema.StaticCodeAnalysis
Ensamblado:  Microsoft.Data.Schema (en Microsoft.Data.Schema.dll)

Sintaxis

'Declaración
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)

Valor de propiedad

Tipo: Microsoft.Data.Schema.StaticCodeAnalysis.DataRuleScope
Un miembro de la enumeración DataRuleScope.

Seguridad de .NET Framework

Vea también

Referencia

DataRuleAttribute Clase

Microsoft.Data.Schema.StaticCodeAnalysis (Espacio de nombres)

DataRuleScope