Compartir a través de


ILoginOptions.PasswordExpirationEnabled Propiedad

Gets or sets the Boolean value that determines whether the login password will expire automatically.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")> _
<DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")> _
Property PasswordExpirationEnabled As Boolean 
    Get 
    Set
'Uso
Dim instance As ILoginOptions 
Dim value As Boolean 

value = instance.PasswordExpirationEnabled

instance.PasswordExpirationEnabled = value
[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);
}
[<DisplayNameKeyAttribute("Login_PasswordExpirationEnabledName")>]
[<DisplayDescriptionKeyAttribute("Login_PasswordExpirationEnabledDesc")>]
abstract PasswordExpirationEnabled : bool with get, set
function get PasswordExpirationEnabled () : boolean 
function set PasswordExpirationEnabled (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that determines whether the login password will expire automatically.If True, the password will expire automatically. Otherwise, False.

Vea también

Referencia

ILoginOptions Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Smo