PasswordExpirationEnabled プロパティ

ログイン アカウントのパスワードの有効期限が自動的に切れるかどうかを示す Boolean プロパティ値を取得します。

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

構文

'宣言
<SfcPropertyAttribute> _
Public Property PasswordExpirationEnabled As Boolean
    Get
    Set
'使用
Dim instance As Login
Dim value As Boolean

value = instance.PasswordExpirationEnabled

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

プロパティ値

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

実装

ILoginOptions. . :: . .PasswordExpirationEnabled