大网数据广告活动
Windows 系统接口

CIM_BIOSElement class (CIMWin32 WMI Providers)

· 52CE 我爱测

The CIM_BIOSElement class represents the low-level software that is loaded into non-volatile storage and used to start and configure a computer system.

The CIM_BIOSElement class represents the low-level software that is loaded into non-volatile storage and used to start and configure a computer system.

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 inherited properties. Properties are listed in alphabetic order, not MOF order.

Syntax

[abstract, UUID("{8502C562-5FBB-11D2-AAC1-006008C78BC7}"), AMENDMENT]
class CIM_BIOSElement : CIM_SoftwareElement
{
  string   Caption;
  string   Description;
  datetime InstallDate;
  string   Status;
  string   Name;
  string   BuildNumber;
  string   CodeSet;
  string   IdentificationCode;
  string   LanguageEdition;
  string   OtherTargetOS;
  string   SerialNumber;
  string   SoftwareElementID;
  uint16   SoftwareElementState;
  uint16   TargetOperatingSystem;
  string   Manufacturer;
  string   Version;
  boolean  PrimaryBIOS;
};

Members

The CIM_BIOSElement class has these types of members:

Properties

The CIM_BIOSElement class has these properties.

BuildNumber

Data type: string

Access type: Read-only

Qualifiers: Maxlen (64), Mappingstrings ("MIF.DMTF|Software Component Information|002.4")

Internal identifier for the compilation of this software element.

This property is inherited from CIM_SoftwareElement.

Caption

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), DisplayName ("Caption")

A short textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

CodeSet

Data type: string

Access type: Read-only

Qualifiers: Maxlen (64)

Code set used by the software element.

This property is inherited from CIM_SoftwareElement.

Description

Data type: string

Access type: Read-only

Qualifiers: DisplayName ("Description")

A textual description of the object.

This property is inherited from CIM_ManagedSystemElement.

IdentificationCode

Data type: string

Access type: Read-only

Qualifiers: Maxlen (64), Mappingstrings ("MIF.DMTF|Software Component Information|002.7")

Manufacturer's identifier for the software element, often a stock-keeping unit (SKU) or part number.

This property is inherited from CIM_SoftwareElement.

InstallDate

Data type: datetime

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|ComponentID|001.5"), DisplayName ("Install Date")

Indicates when the object was installed. Lack of a value does not indicate that the object is not installed.

This property is inherited from CIM_ManagedSystemElement.

LanguageEdition

Data type: string

Access type: Read-only

Qualifiers: Maxlen (32), Mappingstrings ("MIF.DMTF|Software Component Information|002.6")

Language edition of the software element. The language codes defined in ISO 639 should be used. Where the software element represents multilingual or international versions of a product, the string "multilingual" should be used.

This property is inherited from CIM_SoftwareElement.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: Override ("Manufacturer"), MappingStrings ("MIF.DMTF|System BIOS|001.2")

The manufacturer of the BIOS.

Name

Data type: string

Access type: Read-only

Qualifiers: key, maxlen (256)

The name used to identify this software element

This property is inherited from CIM_SoftwareElement.

OtherTargetOS

Data type: string

Access type: Read-only

Qualifiers: Maxlen (64), ModelCorrespondence ("CIM_OperatingSystem.OtherTypeDescription")

Manufacturer and operating system type for a software element when the TargetOperatingSystem property has a value of 1 ("Other"). When the TargetOperatingSystem property has a value of 1, this property must have a non-null value. For all other TargetOperatingSystem values, this property is null.

This property is inherited from CIM_SoftwareElement.

PrimaryBIOS

Data type: boolean

Access type: Read-only

Qualifiers: MappingStrings ("MIF.DMTF|System BIOS|001.9")

If TRUE, this is the primary BIOS of the computer system.

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: Maxlen (64), Mappingstrings ("MIF.DMTF|ComponentID|001.4")

Serial number of the software element.

This property is inherited from CIM_SoftwareElement.

SoftwareElementID

Data type: string

Access type: Read-only

Qualifiers: key, maxlen (256)

Identifier for the software element. It is designed to be used in conjunction with other keys to create a unique representation of this CIM_SoftwareElement.

This property is inherited from CIM_SoftwareElement.

SoftwareElementState

Data type: uint16

Access type: Read-only

Qualifiers: key

State of a software element.

This property is inherited from CIM_SoftwareElement.

Deployable (0)

Describes the details necessary for successful distribution and the details (conditions and actions) required to create a software element in the installable state (that is, the next state).

Installable (1)

Describes the details necessary for successful installation and the details (conditions and actions) required to create a software element in the executable state (that is, the next state).

Executable (2)

Describes the details necessary for successful execution and the details (conditions and actions) required to create a software element in the running state (that is, the next state).

Running (3)

Describes the details necessary to monitor and operate on a start element.

Status

Data type: string

Access type: Read-only

Qualifiers: MaxLen (10), DisplayName ("Status")

String that indicates the current status of the object. Operational and non-operational status can be defined. Operational status can include "OK", "Degraded", and "Pred Fail". "Pred Fail" indicates that an element is functioning properly, but is predicting a failure (for example, a SMART-enabled hard disk drive).

Non-operational status can include "Error", "Starting", "Stopping", and "Service". "Service" can apply during disk mirror-resilvering, reloading a user permissions list, or other administrative work. Not all such work is online, but the managed element is neither "OK" nor in one of the other states.

This property is inherited from CIM_ManagedSystemElement.

Values include the following:

OK ("OK")

Error ("Error")

Degraded ("Degraded")

Unknown ("Unknown")

Pred Fail ("Pred Fail")

Starting ("Starting")

Stopping ("Stopping")

Service ("Service")

Stressed ("Stressed")

NonRecover ("NonRecover")

No Contact ("No Contact")

Lost Comm ("Lost Comm")

TargetOperatingSystem

Data type: uint16

Access type: Read-only

Qualifiers: key, Mappingstrings ("MIF.DMTF|Software Component Information|002.5"), ModelCorrespondence ("CIM_OperatingSystem.OSType")

Operating system environment. The value of this property does not ensure binary executability, more information is needed. The operating system version must be specified using the operating system version check. Also needed, is the architecture on which the operating system runs. The combination of these constructs allows the provider to clearly identify the level of operating system required for a particular software element.

This property is inherited from CIM_SoftwareElement.

Unknown (0)

Other (1)

MACOS (2)

Mac OS

ATTUNIX (3)

ATT UNIX

DGUX (4)

DECNT (5)

Digital Unix (6)

OpenVMS (7)

Open VMS

HPUX (8)

HP-UX

AIX (9)

MVS (10)

OS400 (11)

OS/2 (12)

JavaVM (13)

Microsoft Virtual Machine (VM) for Java

MSDOS (14)

WIN3x (15)

Windows 3.x

WIN95 (16)

Windows 95

WIN98 (17)

Windows 98

WINNT (18)

Windows NT

WINCE (19)

Windows CE

NCR3000 (20)

NCR 3000

NetWare (21)

OSF (22)

DC/OS (23)

Reliant UNIX (24)

SCO UnixWare (25)

SCO OpenServer (26)

Sequent (27)

IRIX (28)

Solaris (29)

SunOS (30)

U6000 (31)

ASERIES (32)

A Series

TandemNSK (33)

Tandem NSK

TandemNT (34)

Tandem NT

BS2000 (35)

BS2000/OSD

LINUX (36)

Lynx (37)

XENIX (38)

VM/ESA (39)

Interactive UNIX (40)

BSDUNIX (41)

BSD UNIX

FreeBSD (42)

NetBSD (43)

GNU Hurd (44)

OS9 (45)

Mac OS 9

MACH Kernel (46)

Inferno (47)

QNX (48)

EPOC (49)

IxWorks (50)

VxWorks (51)

MiNT (52)

BeOS (53)

HP MPE (54)

NextStep (55)

PalmPilot (56)

Palm OS

Rhapsody (57)

Windows 2000 (58)

Dedicated (59)

VSE (60)

TPF (61)

Version

Data type: string

Access type: Read-only

Qualifiers: Override ("Version"), MappingStrings ("MIF.DMTF|System BIOS|001.3")

The version of the BIOS.

Remarks

The CIM_BIOSElement class is derived from CIM_SoftwareElement.

WMI does not implement this class. For more information about classes derived from CIM_BIOSElement, see Win32 Classes.

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_SoftwareElement

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。