Share via


OperatingSystemProperty.ServicePackMajorVersion Property

 

Gets the major service pack version of the operating system.

Namespace:   Microsoft.WindowsServerSolutions.Common.Devices
Assembly:  DevicesOM (in DevicesOM.dll)

Syntax

[DataMemberAttribute]
public int ServicePackMajorVersion { get; private set; }
public:
[DataMemberAttribute]
property int ServicePackMajorVersion {
    int get();
    private: void set(int value);
}
<DataMemberAttribute>
Public Property ServicePackMajorVersion As Integer
    Get
    Private Set
End Property

Property Value

Type: System.Int32

The number that represents the version of the major service pack.

See Also

OperatingSystemProperty Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top