Delen via


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
<DisplayNameKeyAttribute("Login_IsDisabledName")> _
<DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")> _
ReadOnly Property IsDisabled As Boolean
    Get
'Usage
Dim instance As ILoginOptions
Dim value As Boolean

value = instance.IsDisabled
[DisplayNameKeyAttribute("Login_IsDisabledName")]
[DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")]
bool IsDisabled { get; }
[DisplayNameKeyAttribute(L"Login_IsDisabledName")]
[DisplayDescriptionKeyAttribute(L"Login_IsDisabledDesc")]
property bool IsDisabled {
    bool get ();
}
[<DisplayNameKeyAttribute("Login_IsDisabledName")>]
[<DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")>]
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.