Share via


DevicePropertyFactory.CreateOperatingSystemProperty Method (String, Version, Int32, SystemType)

 

Create an OperatingSystemProperty object that contains information about the operating system of a device, including the OS version.

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

Syntax

public static OperatingSystemProperty CreateOperatingSystemProperty(
    string os,
    Version osVersion,
    int spMajor,
    SystemType type
)
public:
static OperatingSystemProperty^ CreateOperatingSystemProperty(
    String^ os,
    Version^ osVersion,
    int spMajor,
    SystemType type
)
Public Shared Function CreateOperatingSystemProperty (
    os As String,
    osVersion As Version,
    spMajor As Integer,
    type As SystemType
) As OperatingSystemProperty

Parameters

Return Value

Type: Microsoft.WindowsServerSolutions.Common.Devices.OperatingSystemProperty

The new property object.

See Also

CreateOperatingSystemProperty Overload
DevicePropertyFactory Class
Microsoft.WindowsServerSolutions.Common.Devices Namespace

Return to top