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)

[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsPasswordExpired { get; }

Property Value

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

Return to top
Show: