ServerVersion Constructor (Int32, Int32, Int32)
Initializes a new instance of the ServerVersion class.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
Public Sub New ( _
major As Integer, _
minor As Integer, _
buildNumber As Integer _
)
'Uso
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
)
Parámetros
- major
Tipo: System.Int32
An Int32 value that specifies the major part of the server version number.
- minor
Tipo: System.Int32
An Int32 value that specifies the minor part of the server version number.
- buildNumber
Tipo: System.Int32
An Int32 value that specifies the build number part of the server version number.