ServerVersion 构造函数 (Int32, Int32)
Initializes a new instance of the ServerVersion class.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Sub New ( _
major As Integer, _
minor As Integer _
)
用法
Dim major As Integer
Dim minor As Integer
Dim instance As New ServerVersion(major, minor)
public ServerVersion(
int major,
int minor
)
public:
ServerVersion(
int major,
int minor
)
new :
major:int *
minor:int -> ServerVersion
public function ServerVersion(
major : int,
minor : int
)
参数
- major
类型:System.Int32
An Int32 value that specifies the major part of the server version number.
- minor
类型:System.Int32
An Int32 value that specifies the minor part of the server version number.