Partager via


Propriété IsLocked

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayNameKeyAttribute("Login_IsLockedName")> _
<DisplayDescriptionKeyAttribute("Login_IsLockedDesc")> _
ReadOnly Property IsLocked As Boolean
    Get
'Utilisation
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

Valeur de propriété

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