OSVersion Class

 

Applies To: Windows Server Update Services

Defines the version of the operating system. To get this class, call the Version property.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

System.Object
  Microsoft.UpdateServices.Administration.OSVersion

[SerializableAttribute]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("6AF7BF8C-0AF0-4D4E-8D1D-3283FE2BA477")]
[ComVisibleAttribute(true)]
public class OSVersion

NameDescription
System_CAPS_pubmethodOSVersion()

Initializes a new instance of the OSVersion class.

System_CAPS_pubmethodOSVersion(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the OSVersion class.

NameDescription
System_CAPS_pubpropertyBuild

Gets or sets the build number.

System_CAPS_pubpropertyMajor

Gets or sets the major version number of the operating system.

System_CAPS_pubpropertyMinor

Gets or sets the minor version number of the operating system.

System_CAPS_pubpropertyServicePackMajor

Gets or sets the major version number of the service pack.

System_CAPS_pubpropertyServicePackMinor

Gets or sets the minor version number of the service pack.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

ADD
Show: