Compartir a través de


IVsDataConnection.DisplayConnectionString Property

Gets the connection string in which sensitive information, if present, is formatted for secure display.

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

Syntax

'Declaration
ReadOnly Property DisplayConnectionString As String
string DisplayConnectionString { get; }
property String^ DisplayConnectionString {
    String^ get ();
}
abstract DisplayConnectionString : string with get
function get DisplayConnectionString () : String

Property Value

Type: System.String
A String value representing the connection string in a format suitable for display purposes.

Remarks

An example of making sensitive data suitable for display is replacing a password value with asterisks.

DDEX uses this property in the property grid when you view the properties of an existing data connection in Server Explorer.

.NET Framework Security

See Also

Reference

IVsDataConnection Interface

Microsoft.VisualStudio.Data.Services Namespace