次の方法で共有


PasswordExpirationEnabled プロパティ

ログイン パスワードの有効期限が自動的に切れるかどうかを示す Boolean 値を取得します。値の設定も可能です。

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

構文

'宣言
<DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")> _
<DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")> _
Property PasswordExpirationEnabled As Boolean
    Get
    Set
'使用
Dim instance As ILoginOptions
Dim value As Boolean

value = instance.PasswordExpirationEnabled

instance.PasswordExpirationEnabled = value
[DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")]
[DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")]
bool PasswordExpirationEnabled { get; set; }
[DisplayNameKeyAttribute(L"Login_PasswordExpirationEnabledName")]
[DisplayDescriptionKeyAttribute(L"Login_PasswordExpirationEnabledDesc")]
property bool PasswordExpirationEnabled {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")>]
[<DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")>]
abstract PasswordExpirationEnabled : bool with get, set
function get PasswordExpirationEnabled () : boolean
function set PasswordExpirationEnabled (value : boolean)

プロパティ値

型: System. . :: . .Boolean
ログイン パスワードの有効期限が自動的に切れるかどうかを示す Boolean 値です。
True の場合、パスワードの有効期限は自動的に切れます。False の場合、有効期限は自動的には切れません。