PasswordExpirationEnabled Property

Login.PasswordExpirationEnabled Property

 

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.Boolean

A 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.

Return to top
Show:
© 2016 Microsoft