Delen via


EnabledDisabledPayloadOption.IsEnabled Property

Gets or sets a value that indicates whether the option value is enabled.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property IsEnabled As Boolean 
    Get 
    Set
'Usage
Dim instance As EnabledDisabledPayloadOption 
Dim value As Boolean 

value = instance.IsEnabled

instance.IsEnabled = value
public bool IsEnabled { get; set; }
public:
property bool IsEnabled {
    bool get ();
    void set (bool value);
}
member IsEnabled : bool with get, set
function get IsEnabled () : boolean 
function set IsEnabled (value : boolean)

Property Value

Type: System.Boolean
true if the option value is enabled; otherwise, false.

See Also

Reference

EnabledDisabledPayloadOption Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace