Freigeben über


IsLocked-Eigenschaft

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

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

Eigenschaftswert

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