Share via


RelationalOptionsExtension.ConnectionString Property

Definition

The connection string, or null if a DbConnection was used instead of a connection string.

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

Property Value

Applies to