This documentation is archived and is not being maintained.

DbConnectionStringBuilder.BrowsableConnectionString Property

Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.

Namespace: System.Data.Common
Assembly: System.Data (in

Public Property BrowsableConnectionString As Boolean
Dim instance As DbConnectionStringBuilder
Dim value As Boolean

value = instance.BrowsableConnectionString

instance.BrowsableConnectionString = value
/** @property */
public boolean get_BrowsableConnectionString ()

/** @property */
public void set_BrowsableConnectionString (boolean value)

public function get BrowsableConnectionString () : boolean

public function set BrowsableConnectionString (value : boolean)

Not applicable.

Property Value

true if the connection string is visible within designers; false otherwise. The default is true.

Developers creating designers that take advantage of the DbConnectionStringBuilder class must be able to make the connection string visible or invisible within the designer's property grid. The BrowsableConnectionString property lets developers indicate that the property should be invisible by setting the property to false.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0