DbConnectionStringBuilder.BrowsableConnectionString Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the ConnectionString property is visible in Visual Studio designers.
public:
property bool BrowsableConnectionString { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool BrowsableConnectionString { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.BrowsableConnectionString : bool with get, set
Public Property BrowsableConnectionString As Boolean
Property Value
true
if the connection string is visible within designers; false
otherwise. The default is true
.
- Attributes
Remarks
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
.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για