PasswordPolicyEnforced propriété

Gets the Boolean property value that specifies whether password policy is enforced for this login account.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public Property PasswordPolicyEnforced As Boolean
    Get
    Set
'Utilisation
Dim instance As Login
Dim value As Boolean

value = instance.PasswordPolicyEnforced

instance.PasswordPolicyEnforced = value
[SfcPropertyAttribute]
public bool PasswordPolicyEnforced { get; set; }
[SfcPropertyAttribute]
public:
virtual property bool PasswordPolicyEnforced {
    bool get () sealed;
    void set (bool value) sealed;
}
[<SfcPropertyAttribute>]
abstract PasswordPolicyEnforced : bool with get, set
[<SfcPropertyAttribute>]
override PasswordPolicyEnforced : bool with get, set
final function get PasswordPolicyEnforced () : boolean
final function set PasswordPolicyEnforced (value : boolean)

Valeur de la propriété

Type : System. . :: . .Boolean
A Boolean value that specifies whether password policy is enforced for this login account.
If True, password policy is enforced for this login account.
If False (default), password policy is not enforced for this login account.

Implémente

ILoginOptions. . :: . .PasswordPolicyEnforced