Dela via


RuleSetting.Enabled Property

Gets or sets whether the rule is enabled.

Namespace:  Microsoft.Data.Schema.StaticCodeAnalysis
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Property Enabled As Boolean
'Usage
Dim instance As RuleSetting 
Dim value As Boolean 

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; internal set; }
public:
property bool Enabled {
    bool get ();
    void set (bool value);
}
public function get Enabled () : boolean 
public function set Enabled (value : boolean)

Property Value

Type: System.Boolean
Returns True if the rule is enabled; otherwise, False.

.NET Framework Security

See Also

Reference

RuleSetting Class

RuleSetting Members

Microsoft.Data.Schema.StaticCodeAnalysis Namespace