DBDataPermission.AllowBlankPassword Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une valeur indiquant si un mot de passe vide est autorisé.
public:
property bool AllowBlankPassword { bool get(); void set(bool value); };
public bool AllowBlankPassword { get; set; }
member this.AllowBlankPassword : bool with get, set
Public Property AllowBlankPassword As Boolean
Valeur de propriété
truesi un mot de passe vide est autorisé, sinon. false
Remarques
L’énumération PermissionState est prioritaire sur la AllowBlankPassword propriété. Par conséquent, si vous définissez AllowBlankPasswordfalsesur , vous devez également définir PermissionState pour None empêcher un utilisateur d’établir une connexion à l’aide d’un mot de passe vide.