ServerVersion Constructor (Int32, Int32, Int32)

Initializes a new instance of the ServerVersion class.

命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)

语法

声明
Public Sub New ( _
    major As Integer, _
    minor As Integer, _
    buildNumber As Integer _
)
public ServerVersion (
    int major,
    int minor,
    int buildNumber
)
public:
ServerVersion (
    int major, 
    int minor, 
    int buildNumber
)
public ServerVersion (
    int major, 
    int minor, 
    int buildNumber
)
public function ServerVersion (
    major : int, 
    minor : int, 
    buildNumber : int
)

参数

  • major
    An Int32 value that specifies the major part of the server version number.
  • minor
    An Int32 value that specifies the minor part of the server version number.
  • buildNumber
    An Int32 value that specifies the build number part of the server version number.

备注

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ServerVersion Class
ServerVersion Members
Microsoft.SqlServer.Management.Common Namespace