Udostępnij przez


Login.IsPasswordExpired Property

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

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property IsPasswordExpired As Boolean
[SfcPropertyAttribute] 
public bool IsPasswordExpired { get; }
[SfcPropertyAttribute] 
public:
property bool IsPasswordExpired {
    bool get ();
}
/** @property */
public boolean get_IsPasswordExpired ()
public function get IsPasswordExpired () : boolean

Property Value

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.