Compartir a través de


Login.IsLocked Property

Gets the Boolean property value that specifies whether the login account has been locked out of the instance of Microsoft SQL Server.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public ReadOnly Property IsLocked As Boolean
public bool IsLocked { get; }
public:
property bool IsLocked {
    bool get ();
}
/** @property */
public boolean get_IsLocked ()
public function get IsLocked () : boolean

Valor de propiedad

A Boolean value that specifies whether Basic authentication is enabled for the logon. If True, the login account has been locked out of the instance of SQL Server. If False (default), the login account has not been locked out of the instance of SQL Server.

Notas

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplo

How to: Enumerate Logins and Associated Users in Visual Basic .NET

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

Login Class
Login Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Managing Users, Roles, and Logins
Entidades de seguridad
CREATE LOGIN (Transact-SQL)