获取服务器的版本。
命名空间:  Microsoft.SqlServer.Management.Common
程序集:  Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Private ReadOnly Property ServerVersion As Version 
    Implements ISfcConnection.ServerVersion 
    Get
用法
Dim instance As ServerConnection 
Dim value As Version 
value = CType(instance, ISfcConnection).ServerVersion
Version ISfcConnection.ServerVersion { get; }
private:
virtual property Version^ ServerVersion {
    Version^ get () sealed = ISfcConnection::ServerVersion::get;
}
private abstract ServerVersion : Version 
private override ServerVersion : Version
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
属性值
类型:Version
服务器的 Version。