ServerVersion 建構函式 (Int32, Int32, Int32)
初始化 ServerVersion 類別的新執行個體。
命名空間: Microsoft.SqlServer.Management.Common
組件: Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)
語法
'宣告
Public Sub New ( _
major As Integer, _
minor As Integer, _
buildNumber As Integer _
)
'用途
Dim major As Integer
Dim minor As Integer
Dim buildNumber As Integer
Dim instance As New ServerVersion(major, minor, _
buildNumber)
public ServerVersion(
int major,
int minor,
int buildNumber
)
public:
ServerVersion(
int major,
int minor,
int buildNumber
)
new :
major:int *
minor:int *
buildNumber:int -> ServerVersion
public function ServerVersion(
major : int,
minor : int,
buildNumber : int
)
參數
- major
型別:Int32
Int32 值,指定伺服器版本號碼的主要部分。
- minor
型別:Int32
Int32 值,指定伺服器版本號碼的次要部分。
- buildNumber
型別:Int32
Int32 值,指定伺服器版本號碼的組建編號部分。