Login.IsDisabled Property
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 (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property IsDisabled As Boolean
[SfcPropertyAttribute]
public bool IsDisabled { get; }
[SfcPropertyAttribute]
public:
virtual property bool IsDisabled {
bool get () sealed;
}
/** @property */
public final boolean get_IsDisabled ()
public final function get IsDisabled () : boolean
Property Value
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.
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.
See Also