ILoginOptions.IsDisabled Property

Gets the Boolean value that determines whether the login is disabled.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")> _
<DisplayNameKeyAttribute("Login_IsDisabledName")> _
ReadOnly Property IsDisabled As Boolean
    Get
'Usage
Dim instance As ILoginOptions
Dim value As Boolean

value = instance.IsDisabled
[DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")]
[DisplayNameKeyAttribute("Login_IsDisabledName")]
bool IsDisabled { get; }
[DisplayDescriptionKeyAttribute(L"Login_IsDisabledDesc")]
[DisplayNameKeyAttribute(L"Login_IsDisabledName")]
property bool IsDisabled {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")>]
[<DisplayNameKeyAttribute("Login_IsDisabledName")>]
abstract IsDisabled : bool
function get IsDisabled () : boolean

Property Value

Type: System.Boolean
A Boolean value that determines whether the login is disabled.
If True, the login is disabled. Otherwise, False.