Gets the version of a SQL Server instance.
A string value representing the version of the currently connected SQL Server instance.
Gets the version of the SQL Server instance the System.Data.SqlClient.SqlConnection is currently connected to.
Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0