ServerVersion Constructor (Int32, Int32, Int32)
Initializes a new instance of the ServerVersion class.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
Syntax
'Declaration
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
)
Parameters
- 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.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
ServerVersion Class
ServerVersion Members
Microsoft.SqlServer.Management.Common Namespace