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.