Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets unencrypted connection information for display in the Add Connection dialog box for the specified data provider.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
ReadOnly Property DisplayConnectionString As String
'Usage
Dim instance As IVsDataConnectionDialog
Dim value As String
value = instance.DisplayConnectionString
string DisplayConnectionString { get; }
property String^ DisplayConnectionString {
String^ get ();
}
function get DisplayConnectionString () : String
Property Value
Type: System.String
Returns string representing unencrypted connection information for the connection dialog box.
Remarks
Normally, a client sets this property to specify an initial configuration for the dialog box and then retrieve it after the dialog box has closed to pick up the information entered by the user.
The display connection string is provided for purposes of display in the user interface (UI). No sensitive information, such as a password, is included in this string. A client may set the value of this property as a more complete connection string; however, this information will be stripped out and will not be returned by this property.
.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.
See Also
Reference
IVsDataConnectionDialog Interface
IVsDataConnectionDialog Members