Propriedade ServerVersion
Gets the SQL Server version of the target server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
ReadOnly Property ServerVersion As Version
Get
'Uso
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
Valor da propriedade
Tipo: System. . :: . .Version
A Version value that specifies the SQL Server version of the target server of the connection.
Consulte também