ConnectionSettings.ConnectionString 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
該屬性會回傳使用者指定的 連接字串,或是根據物件設定回傳計算出的 連接字串。 若明確設定,ServerConnection 物件中的所有屬性都會被填入以反映傳入的 連接字串。 例外:ConnectionCannotBeChangedException InvalidPropertyValueException
[System.ComponentModel.Browsable(false)]
public string ConnectionString { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.ConnectionString : string with get, set
Public Property ConnectionString As String
屬性值
- 屬性