Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
BrowsableConnectionString Property

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)

'Declaration
<BrowsableAttribute(False)> _
Public Property BrowsableConnectionString As Boolean

Property Value

Type: System.Boolean
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft