Proprietà ServerVersion

Gets the SQL Server version of the target server.

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
ReadOnly Property ServerVersion As Version
    Get
'Utilizzo
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

Valore proprietà

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