Share via


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.String

    Name 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

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.Framework.AdoDotNet Namespace