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
'宣言
ReadOnly Property DisplayConnectionString As String
Get
string DisplayConnectionString { get; }
property String^ DisplayConnectionString {
String^ get ();
}
abstract DisplayConnectionString : string
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
- 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.