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
'使用
Dim instance As IVsDataConnection
Dim value As String
value = instance.DisplayConnectionString
string DisplayConnectionString { get; }
property String^ DisplayConnectionString {
String^ 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.
Permissions
- 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.