次の方法で共有


IsDisabled プロパティ

ログインが無効かどうかを示す Boolean 値を取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")> _
<DisplayNameKeyAttribute("Login_IsDisabledName")> _
ReadOnly Property IsDisabled As Boolean
    Get
'使用
Dim instance As ILoginOptions
Dim value As Boolean

value = instance.IsDisabled
[DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")]
[DisplayNameKeyAttribute("Login_IsDisabledName")]
bool IsDisabled { get; }
[DisplayDescriptionKeyAttribute(L"Login_IsDisabledDesc")]
[DisplayNameKeyAttribute(L"Login_IsDisabledName")]
property bool IsDisabled {
    bool get ();
}
[<DisplayDescriptionKeyAttribute("Login_IsDisabledDesc")>]
[<DisplayNameKeyAttribute("Login_IsDisabledName")>]
abstract IsDisabled : bool
function get IsDisabled () : boolean

プロパティ値

型: System. . :: . .Boolean
ログインが無効かどうかを示す Boolean 値です。
True の場合、ログインは無効です。False の場合、無効ではありません。