Propriedade ServerVersion

Gets the version of the connected instance of SQL Server.

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

Sintaxe

'Declaração
Public ReadOnly Property ServerVersion As ServerVersion
    Get
'Uso
Dim instance As ConnectionManager
Dim value As ServerVersion

value = instance.ServerVersion
public ServerVersion ServerVersion { get; }
public:
property ServerVersion^ ServerVersion {
    ServerVersion^ get ();
}
member ServerVersion : ServerVersion
function get ServerVersion () : ServerVersion

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object value that specifies the version of the connected instance of SQL Server.