EntityConnection.ServerVersion Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework