ServerVersion 属性

Gets the SQL Server version of the target server.

命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)

语法

声明
ReadOnly Property ServerVersion As Version
    Get
用法
Dim instance As ISfcConnection
Dim value As Version

value = instance.ServerVersion
Version ServerVersion { get; }
property Version^ ServerVersion {
    Version^ get ();
}
abstract ServerVersion : Version
function get ServerVersion () : Version

属性值

类型:System. . :: . .Version
A Version value that specifies the SQL Server version of the target server of the connection.