Export (0) Print
Expand All

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 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)

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

Community Additions

ADD
Show:
© 2014 Microsoft