Compartilhar via


Propriedade do RDL PasswordPolicyEnforced

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<DisplayDescriptionKeyAttribute("Login_PasswordPolicyEnforcedDesc")> _
<DisplayNameKeyAttribute("Login_PasswordPolicyEnforcedName")> _
Property PasswordPolicyEnforced As Boolean
    Get
    Set
'Uso
Dim instance As ILoginOptions
Dim value As Boolean

value = instance.PasswordPolicyEnforced

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

Valor da propriedade

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