Свойство PasswordPolicyEnforced
Gets or sets the Boolean value that determines whether the login password must adhere to a policy.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<DisplayDescriptionKeyAttribute("Login_PasswordPolicyEnforcedDesc")> _
<DisplayNameKeyAttribute("Login_PasswordPolicyEnforcedName")> _
Property PasswordPolicyEnforced As Boolean
Get
Set
'Применение
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)
Значение свойства
Тип System. . :: . .Boolean
A Boolean value that determines whether password policy is enforced.
If True, the password policy is enforced. Otherwise, False.