Share via


EntityConnection.ServerVersion Property

Definition

Gets a string that contains the version of the data source to which the client is connected.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public override string ServerVersion { get; }
member this.ServerVersion : string
Public Overrides ReadOnly Property ServerVersion As String

Property Value

The version of the data source that is contained in the provider connection string.

Attributes

Exceptions

The connection is closed.

Applies to