DbConnectionStringBuilder.IsReadOnly 屬性

定義

取得值,這個值表示 DbConnectionStringBuilder 是否為唯讀。

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

屬性值

如果 true 是唯讀,則為 DbConnectionStringBuilder,否則為 false。 預設為 false

實作

屬性

備註

只讀集合不允許在建立集合之後加入、移除或修改專案。

只讀集合只是具有防止修改集合之包裝函式的集合;因此,如果對基礎集合進行變更,只讀集合會反映這些變更。

適用於

另請參閱