Compartilhar via


Propriedade IsDisabled

Gets or sets the Boolean property value that specifies whether the SQL Server login account is disabled.

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

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public ReadOnly Property IsDisabled As Boolean
    Get
'Uso
Dim instance As Login
Dim value As Boolean

value = instance.IsDisabled
[SfcPropertyAttribute]
public bool IsDisabled { get; }
[SfcPropertyAttribute]
public:
virtual property bool IsDisabled {
    bool get () sealed;
}
[<SfcPropertyAttribute>]
abstract IsDisabled : bool
[<SfcPropertyAttribute>]
override IsDisabled : bool
final function get IsDisabled () : boolean

Valor da propriedade

Tipo: System. . :: . .Boolean
A Boolean value that specifies whether the login account is disabled.
If True, the login is disabled.
If False (default), the login is not disabled.

Implementa

ILoginOptions. . :: . .IsDisabled