Mono Class Library: System.Data.SqlClient.SqlConnection Overview | Members

System.Data.SqlClient.SqlConnection.ServerVersion Property

Gets the version of a SQL Server instance.

[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
[System.ComponentModel.Browsable(false)]
public override string ServerVersion { get; }

Value

A string value representing the version of the currently connected SQL Server instance.

Remarks

Gets the version of the SQL Server instance the System.Data.SqlClient.SqlConnection is currently connected to.

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0