AdoDotNetConnectionProperties.IsSensitive Method
Returns a Boolean value indicating whether a specified property contains sensitive information.
Namespace: Microsoft.VisualStudio.Data.Framework.AdoDotNet
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Overridable Function IsSensitive ( _
key As String _
) As Boolean
public virtual bool IsSensitive(
string key
)
public:
virtual bool IsSensitive(
String^ key
)
abstract IsSensitive :
key:string -> bool
override IsSensitive :
key:string -> bool
public function IsSensitive(
key : String
) : boolean
Parameters
key
Type: System.StringName of the property for which the indication of sensitive information is provided.
Return Value
Type: System.Boolean
true if the property contains sensitive information; otherwise false.
Implements
IVsDataConnectionUIProperties.IsSensitive(String)
Remarks
The base implementation of this method retrieves the PasswordPropertyText 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.