Constructeur ServerVersion (Int32, Int32)
Initializes a new instance of the ServerVersion class.
Espace de noms : Microsoft.SqlServer.Management.Common
Assembly : Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Syntaxe
'Déclaration
Public Sub New ( _
major As Integer, _
minor As Integer _
)
'Utilisation
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
)
Paramètres
- major
Type : System.Int32
An Int32 value that specifies the major part of the server version number.
- minor
Type : System.Int32
An Int32 value that specifies the minor part of the server version number.