CurrentVersion 属性

Gets the version of the instance of SQL Server.

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

语法

声明
Public ReadOnly Property CurrentVersion As ServerVersion
    Get
用法
Dim instance As UnknownPropertyException
Dim value As ServerVersion

value = instance.CurrentVersion
public ServerVersion CurrentVersion { get; }
public:
property ServerVersion^ CurrentVersion {
    ServerVersion^ get ();
}
member CurrentVersion : ServerVersion
function get CurrentVersion () : ServerVersion

属性值

类型:Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object value that specifies the version of the instance of SQL Server.