EntityConnection.ServerVersion Property
Gets a string that contains the version of the data source to which the client is connected.
Assembly: EntityFramework (in EntityFramework.dll)
[SuppressMessageAttribute("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")] public override string ServerVersion { get; }
Property Value
Type: System.StringThe version of the data source that is contained in the provider connection string.