Login.PasswordExpirationEnabled Property
SQL Server 2012
Gets the Boolean property value that specifies whether the password for the login account will automatically expire.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase, "false")] public bool PasswordExpirationEnabled { get; set; }
Property Value
Type: System.BooleanA Boolean value that specifies whether the password for the login account will automatically expire.If True, the login account password automatically expires.If False (default), the login account password does not expire automatically.
