Partager via


IVsDataConnection.SafeConnectionString Property

Gets the connection string, excluding sensitive information.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Property SafeConnectionString As String
string SafeConnectionString { get; set; }
property String^ SafeConnectionString {
    String^ get ();
    void set (String^ value);
}
abstract SafeConnectionString : string with get, set
function get SafeConnectionString () : String 
function set SafeConnectionString (value : String)

Property Value

Type: System.String
A String value representing the connection string that excludes sensitive information.

Remarks

An example of sensitive information is a password property.

.NET Framework Security

See Also

Reference

IVsDataConnection Interface

Microsoft.VisualStudio.Data.Services Namespace