Поделиться через


Свойство ServerVersion

Gets the version of the connected instance of SQL Server.

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

Синтаксис

'Декларация
Public Property ServerVersion As ServerVersion
    Get
    Set
'Применение
Dim instance As ConnectionManager
Dim value As ServerVersion

value = instance.ServerVersion

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

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

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