Compartir a través de


ILoginOptions.PasswordPolicyEnforced Propiedad

Gets or sets the Boolean value that determines whether the login password must adhere to a policy.

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

Sintaxis

'Declaración
<DisplayNameKeyAttribute("Login_PasswordPolicyEnforcedName")> _
<DisplayDescriptionKeyAttribute("Login_PasswordPolicyEnforcedDesc")> _
Property PasswordPolicyEnforced As Boolean 
    Get 
    Set
'Uso
Dim instance As ILoginOptions 
Dim value As Boolean 

value = instance.PasswordPolicyEnforced

instance.PasswordPolicyEnforced = value
[DisplayNameKeyAttribute("Login_PasswordPolicyEnforcedName")]
[DisplayDescriptionKeyAttribute("Login_PasswordPolicyEnforcedDesc")]
bool PasswordPolicyEnforced { get; set; }
[DisplayNameKeyAttribute(L"Login_PasswordPolicyEnforcedName")]
[DisplayDescriptionKeyAttribute(L"Login_PasswordPolicyEnforcedDesc")]
property bool PasswordPolicyEnforced {
    bool get ();
    void set (bool value);
}
[<DisplayNameKeyAttribute("Login_PasswordPolicyEnforcedName")>]
[<DisplayDescriptionKeyAttribute("Login_PasswordPolicyEnforcedDesc")>]
abstract PasswordPolicyEnforced : bool with get, set
function get PasswordPolicyEnforced () : boolean 
function set PasswordPolicyEnforced (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that determines whether password policy is enforced.If True, the password policy is enforced. Otherwise, False.

Vea también

Referencia

ILoginOptions Interfaz

Espacio de nombres Microsoft.SqlServer.Management.Smo