ILoginOptions.IsLocked Property

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

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

Syntax

'Declaration
<DisplayDescriptionKeyAttribute("Login_IsLockedDesc")> _
<DisplayNameKeyAttribute("Login_IsLockedName")> _
ReadOnly Property IsLocked As Boolean
    Get
'Usage
Dim instance As ILoginOptions
Dim value As Boolean

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

Property Value

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