Share via


Login.IsPasswordExpired 속성

Gets the Boolean property value that specifies whether the password for the SQL Server login account has expired.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsPasswordExpired As Boolean 
    Get
‘사용 방법
Dim instance As Login 
Dim value As Boolean 

value = instance.IsPasswordExpired
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsPasswordExpired { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsPasswordExpired {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsPasswordExpired : bool
function get IsPasswordExpired () : boolean

속성 값

유형: System.Boolean
A Boolean value that specifies whether the password for the SQL Server login account has expired.If True, the password for the login account has expired.If False , the password for the login account has yet to expire.

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

참고 항목

참조

Login 클래스

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

관련 자료

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

CREATE LOGIN(Transact-SQL)