Freigeben über


Login.IsPasswordExpired-Eigenschaft

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

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IsPasswordExpired As Boolean 
    Get
'Usage
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

Eigenschaftswert

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

Beispiele

Verwalten von Benutzern, Rollen und Anmeldungen

Siehe auch

Verweis

Login Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Prinzipale (Datenbankmodul)

CREATE LOGIN (Transact-SQL)