RelationalConnection.ConnectionString 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置数据库的连接字符串。
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