ILoginOptions.PasswordExpirationEnabled Property
Gets or sets the Boolean value that determines whether the login password will expire automatically. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")> _
<DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")> _
Property PasswordExpirationEnabled As Boolean
[DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")]
[DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")]
bool PasswordExpirationEnabled { get; set; }
[DisplayNameKeyAttribute(L"Login_PasswordExpirationEnabledName")]
[DisplayDescriptionKeyAttribute(L"Login_PasswordExpirationEnabledDesc")]
property bool PasswordExpirationEnabled {
bool get ();
void set (bool value);
}
/** @property */
boolean get_PasswordExpirationEnabled ()
/** @property */
void set_PasswordExpirationEnabled (boolean value)
function get PasswordExpirationEnabled () : boolean
function set PasswordExpirationEnabled (value : boolean)
Property Value
A Boolean value that determines whether the login password will expire automatically. If True, the password will expire automatically. Otherwise, False.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.