ServerVersion 属性

Gets or sets the version information about the 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 ConnectionInfoBase
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 system object value that specifies the version information about the instance of SQL Server.