语言

IRelationalConnection.ConnectionString 属性

定义

获取或设置数据库的连接字符串。

public string ConnectionString { get; }
[System.Runtime.CompilerServices.Nullable(2)]
public string? ConnectionString { get; set; }
public virtual string ConnectionString { get; set; }
public string? ConnectionString { get; set; }
member this.ConnectionString : string
[<System.Runtime.CompilerServices.Nullable(2)>]
member this.ConnectionString : string with get, set
member this.ConnectionString : string with get, set
Public ReadOnly Property ConnectionString As String
Public Property ConnectionString As String
Public Overridable Property ConnectionString As String

属性值

特性

适用于