CIM_RunningOS class

The CIM_RunningOS class represents the currently executing operating system. At most, one operating system can execute at any time on a computer system; the computer system may not be currently booted, or its operating system may be unknown.

Important

The DMTF (Distributed Management Task Force) CIM (Common Information Model) classes are the parent classes upon which WMI classes are built. WMI currently supports only the CIM 2.x version schemas.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[Abstract, UUID("{1F2EA300-DB37-11d2-85FC-0000F8102E5F}"), AMENDMENT]
class CIM_RunningOS : CIM_Dependency
{
  CIM_ComputerSystem  REF Dependent;
  CIM_OperatingSystem REF Antecedent;
};

Members

The CIM_RunningOS class has these types of members:

Properties

The CIM_RunningOS class has these properties.

Antecedent

Data type: CIM_OperatingSystem

Access type: Read-only

Qualifiers: Max (1), Override ("Antecedent")

A CIM_OperatingSystem that describes the operating system currently running on the computer system.

Dependent

Data type: CIM_ComputerSystem

Access type: Read-only

Qualifiers: Max (1), Min (1), Override ("Dependent")

A CIM_ComputerSystem that describes the computer system.

Remarks

The CIM_RunningOS class is derived from CIM_Dependency.

WMI does not implement this class.

This documentation is derived from the CIM class descriptions published by the DMTF. Microsoft may have made changes to correct minor errors, conform to Microsoft SDK documentation standards, or provide more information.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
CIMWin32.mof
DLL
CIMWin32.dll

See also

CIM_Dependency