Login.PasswordExpirationEnabled 속성

Gets the Boolean property value that specifies whether the password for the login account will automatically expire.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase,  _
    "false")> _
Public Property PasswordExpirationEnabled As Boolean 
    Get 
    Set
‘사용 방법
Dim instance As Login 
Dim value As Boolean 

value = instance.PasswordExpirationEnabled

instance.PasswordExpirationEnabled = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")]
public bool PasswordExpirationEnabled { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase, 
    L"false")]
public:
virtual property bool PasswordExpirationEnabled {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")>]
abstract PasswordExpirationEnabled : bool with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, 
    "false")>]
override PasswordExpirationEnabled : bool with get, set
final function get PasswordExpirationEnabled () : boolean 
final function set PasswordExpirationEnabled (value : boolean)

속성 값

유형: System.Boolean
A Boolean value that specifies whether the password for the login account will automatically expire.If True, the login account password automatically expires.If False (default), the login account password does not expire automatically.

구현

ILoginOptions.PasswordExpirationEnabled

사용자, 역할 및 로그인 관리

참고 항목

참조

Login 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

보안 주체(데이터베이스 엔진)

CREATE LOGIN(Transact-SQL)