DbConnectionStringBuilder.BrowsableConnectionString Property

Note: This property is new in the .NET Framework version 2.0.

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 system.data.dll)

public bool BrowsableConnectionString { get; set; 
/** @property */
public boolean get_BrowsableConnectionString ()

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

public function get BrowsableConnectionString () : boolean

public function set BrowsableConnectionString (value : boolean)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0