Share via


AdoDotNetConnectionProperties.IsSensitive, méthode

Retourne une valeur booléenne indiquant si une propriété spécifiée contient des informations sensibles.

Espace de noms :  Microsoft.VisualStudio.Data.AdoDotNet
Assembly :  Microsoft.VisualStudio.Data (dans Microsoft.VisualStudio.Data.dll)

Syntaxe

'Déclaration
Public Overrides Function IsSensitive ( _
    propertyName As String _
) As Boolean
public override bool IsSensitive(
    string propertyName
)
public:
virtual bool IsSensitive(
    String^ propertyName
) override
abstract IsSensitive : 
        propertyName:string -> bool  
override IsSensitive : 
        propertyName:string -> bool
public override function IsSensitive(
    propertyName : String
) : boolean

Paramètres

  • propertyName
    Type : String

    Nom de la propriété pour laquelle l'affichage des informations sensibles est affiché.

Valeur de retour

Type : Boolean
Retourne true si la propriété contient des informations sensibles ; sinon retourne false.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre propertyName est null.

ArgumentException

La propriété n'existe pas.

Notes

Implémentation de base de cette méthode extrait l'attribut PasswordPropertyText de la propriété et le retour spécifiés true si cet attribut a la valeur true; sinon elle retourne false.

Sécurité .NET Framework

Voir aussi

Référence

AdoDotNetConnectionProperties Classe

Microsoft.VisualStudio.Data.AdoDotNet, espace de noms

IsSensitive