Udostępnij przez


ILoginOptions.IsLocked Property

Gets the Boolean value that determines whether the login is locked. This property is not CLS-compliant.

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

Syntax

'Deklaracja
<DisplayDescriptionKeyAttribute("Login_IsLockedDesc")> _
<DisplayNameKeyAttribute("Login_IsLockedName")> _
ReadOnly Property IsLocked As Boolean
[DisplayDescriptionKeyAttribute("Login_IsLockedDesc")] 
[DisplayNameKeyAttribute("Login_IsLockedName")] 
bool IsLocked { get; }
[DisplayDescriptionKeyAttribute(L"Login_IsLockedDesc")] 
[DisplayNameKeyAttribute(L"Login_IsLockedName")] 
property bool IsLocked {
    bool get ();
}
/** @property */
boolean get_IsLocked ()
function get IsLocked () : boolean

Property Value

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.