Share via


DataConnection.DisplayConnectionString Property

Retrieves or sets unencrypted connection information in the form of a DDEX-provider-specific string.

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

Syntax

'Declaration
Public MustOverride Property DisplayConnectionString As String
'Usage
Dim instance As DataConnection 
Dim value As String 

value = instance.DisplayConnectionString

instance.DisplayConnectionString = value
public abstract string DisplayConnectionString { get; set; }
public:
virtual property String^ DisplayConnectionString {
    String^ get () abstract;
    void set (String^ value) abstract;
}
public abstract function get DisplayConnectionString () : String 
public abstract function set DisplayConnectionString (value : String)

Property Value

Type: System.String
Returns unencrypted connection information in the form of a provider-specific string.

Remarks

The display connection string is provided for purposes of display in the user interface (UI). No sensitive information, such as passwords, 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.

For manipulating sensitive information, see EncryptedConnectionString.

.NET Framework Security

See Also

Reference

DataConnection Class

DataConnection Members

Microsoft.VisualStudio.Data Namespace