DbConnectionStringBuilder.IsReadOnly 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 a value that indicates whether the DbConnectionStringBuilder is read-only.
public:
property bool IsReadOnly { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsReadOnly { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean
Property Value
true
if the DbConnectionStringBuilder is read-only; otherwise false
. The default is false
.
Implements
- Attributes
Remarks
A read-only collection does not allow adding, removing, or modifying elements after the collection is created.
A read-only collection is just a collection with a wrapper that prevents modifying the collection; therefore, if changes are made to the underlying collection, the read-only collection reflects those changes.
Applies to
See also
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk