Compartilhar via


Propriedade IsPasswordExpired

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 (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public ReadOnly Property IsPasswordExpired As Boolean
    Get
'Uso
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

Valor da propriedade

Tipo: 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.