ConnectionManager.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.
Returns the major version number of SQL Server. I.e. 8 for SQL Server 2000. Exceptions: ConnectionFailureException
public Microsoft.SqlServer.Management.Common.ServerVersion ServerVersion { get; set; }
member this.ServerVersion : Microsoft.SqlServer.Management.Common.ServerVersion with get, set
Public Property ServerVersion As ServerVersion