Share via


ISfcConnection.ServerVersion Property

Gets the SQL Server version of the target server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
ReadOnly Property ServerVersion As Version
    Get
'Usage
Dim instance As ISfcConnection
Dim value As Version

value = instance.ServerVersion
Version ServerVersion { get; }
property Version^ ServerVersion {
    Version^ get ();
}
abstract ServerVersion : Version
function get ServerVersion () : Version

Property Value

Type: System.Version
A Version value that specifies the SQL Server version of the target server of the connection.