ILoginOptions.PasswordPolicyEnforced Property
Gets or sets the Boolean value that determines whether the login password must adhere to a policy. This property is not CLS-compliant.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<DisplayDescriptionKeyAttribute("Login_PasswordPolicyEnforcedDesc")> _
<DisplayNameKeyAttribute("Login_PasswordPolicyEnforcedName")> _
Property PasswordPolicyEnforced As Boolean
[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);
}
/** @property */
boolean get_PasswordPolicyEnforced ()
/** @property */
void set_PasswordPolicyEnforced (boolean value)
function get PasswordPolicyEnforced () : boolean
function set PasswordPolicyEnforced (value : boolean)
Property Value
A Boolean value that determines whether password policy is enforced. If True, the password policy is enforced. 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.