共用方式為


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> _
Public ReadOnly Property IsPasswordExpired As Boolean
    Get
'用途
Dim instance As Login
Dim value As Boolean

value = instance.IsPasswordExpired
[SfcPropertyAttribute]
public bool IsPasswordExpired { get; }
[SfcPropertyAttribute]
public:
property bool IsPasswordExpired {
    bool get ();
}
[<SfcPropertyAttribute>]
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.