Share via


UIConnectionInfo.ServerVersion Property

This API supports the infrastructure and is not intended to be used directly from your code.

Do not reference this member directly in your code. It supports the SQL Server infrastructure. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Property ServerVersion As ServerVersion
    Get
    Set
'Usage
Dim instance As UIConnectionInfo
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)

Property Value

Type: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion object that specifies the version of the instance of the Database Engine for the connection.