Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Indicates whether a property contains sensitive information.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Function IsSensitive ( _
key As String _
) As Boolean
public bool IsSensitive(
string key
)
public:
virtual bool IsSensitive(
String^ key
) sealed
abstract IsSensitive :
key:string -> bool
override IsSensitive :
key:string -> bool
public final function IsSensitive(
key : String
) : boolean
Parameters
- key
Type: System.String
The name of the property.
Return Value
Type: System.Boolean
true if the property contains sensitive information; otherwise, false.
Implements
IVsDataConnectionUIProperties.IsSensitive(String)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The key parameter is nulla null reference (Nothing in Visual Basic). |
Remarks
The base implementation of this method retrieves the PasswordPropertyTextAttribute attribute for the specified property and returns true if this attribute is set to true; otherwise, it returns false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.