共用方式為


RelationalConnection.ConnectionString 屬性

定義

取得或設定資料庫的連接字串。

public virtual string ConnectionString { get; }
public virtual string ConnectionString { get; set; }
public virtual string? ConnectionString { get; set; }
member this.ConnectionString : string
member this.ConnectionString : string with get, set
Public Overridable ReadOnly Property ConnectionString As String
Public Overridable Property ConnectionString As String

屬性值

實作

適用於