Свойство ServerVersion

Gets the version of the connected instance of SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public ReadOnly Property ServerVersion As ServerVersion
    Get
'Применение
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

Значение свойства

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