ConnectionSettings.ConnectionString 屬性

定義

該屬性會回傳使用者指定的 連接字串,或是根據物件設定回傳計算出的 連接字串。 若明確設定,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

屬性值

屬性

適用於