OSVersion Constructor (Int32, Int32, Int32, Int32, Int32)
Initializes a new instance of the OSVersion class.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)
Usage
Dim major As Integer
Dim minor As Integer
Dim build As Integer
Dim servicePackMajor As Integer
Dim servicePackMinor As Integer
Dim instance As New OSVersion(major, minor, build, servicePackMajor, servicePackMinor)
Syntax
'Declaration
Public Sub New ( _
major As Integer, _
minor As Integer, _
build As Integer, _
servicePackMajor As Integer, _
servicePackMinor As Integer _
)
public OSVersion (
int major,
int minor,
int build,
int servicePackMajor,
int servicePackMinor
)
public:
OSVersion (
int major,
int minor,
int build,
int servicePackMajor,
int servicePackMinor
)
public OSVersion (
int major,
int minor,
int build,
int servicePackMajor,
int servicePackMinor
)
public function OSVersion (
major : int,
minor : int,
build : int,
servicePackMajor : int,
servicePackMinor : int
)
Parameters
- major
Major version number of the operating system.
- minor
Minor version number of the operating system.
- build
Version number of the build.
- servicePackMajor
Major version number of the service pack.
- servicePackMinor
Minor version number of the service pack.
Platforms
Development Platforms
Target Platforms
Windows Server 2008, Windows Server 2003, Windows Server 2008 R2
See Also
Reference
OSVersion Class
OSVersion Members
Microsoft.UpdateServices.Administration Namespace