共用方式為


IsDisabled 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property IsDisabled As Boolean
    Get
'用途
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

屬性值

型別: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.

實作

ILoginOptions. . :: . .IsDisabled