大网数据广告活动
Hyper-V与虚拟化

CIM_SoftwareElement class (Hyper-V management)

· 52CE 我爱测

Represents an individually manageable or deployable part of a CIM_SoftwareFeature.

Represents an individually manageable or deployable part of a CIM_SoftwareFeature.

Syntax

[Abstract, Version("2.23.0"), UMLPackagePath("CIM::Application::DeploymentModel"), AMENDMENT]
class CIM_SoftwareElement : CIM_LogicalElement
{
  string Name;
  string Version;
  uint16 SoftwareElementState;
  string SoftwareElementID;
  uint16 TargetOperatingSystem;
  string OtherTargetOS;
  string Manufacturer;
  string BuildNumber;
  string SerialNumber;
  string CodeSet;
  string IdentificationCode;
  string LanguageEdition;
};

Members

The CIM_SoftwareElement class has these types of members:

Properties

The CIM_SoftwareElement class has these properties.

BuildNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|Software Component Information|002.4")

The internal identifier for the compilation of the software element.

CodeSet

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64)

The character encoding used by the software element, such as UTF-8 and ISO8859-1.

IdentificationCode

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|SubComponent Software|001.6")

The manufacturer identifier for the software element. This is often a stock keeping unit (SKU) or a part number.

LanguageEdition

Data type: string

Access type: Read-only

Qualifiers: MaxLen (32), MappingStrings ("MIF.DMTF|SubComponent Software|001.7")

The language edition of the software element. The language codes defined in the ISO 639 standard should be used. If the element represents a multi-lingual or international version, the string "Multilingual" should be used.

Manufacturer

Data type: string

Access type: Read-only

Qualifiers: MaxLen (256), MappingStrings ("MIF.DMTF|SubComponent Software|001.3")

The manufacturer of the software element.

Name

Data type: string

Access type: Read-only

Qualifiers: Key, Override ("Name"), MaxLen (256)

The name used to identify the software element.

OtherTargetOS

Data type: string

Access type: Read-only

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

The manufacturer and operating system type when the TargetOperatingSystem property is set to Other ("1").

SerialNumber

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|ComponentID|001.4")

The assigned serial number of the software element.

SoftwareElementID

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (256)

An identifier for the software element to use in conjunction with other keys to create a uniquely identify the element.

SoftwareElementState

Data type: uint16

Access type: Read-only

Qualifiers: Key

The life cycle state of the software element.

- A SoftwareElement in the deployable state describes the details necessary to successfully distribute it and the details (Checks and Actions) required to move it to the installable state (i.e, the next state).

- A SoftwareElement in the installable state describes the details necessary to successfully install it and the details (Checks and Actions) required to create an element in the executable state (i.e., the next state).

- A SoftwareElement in the executable state describes the details necessary to successfully start it and the details (Checks and Actions) required to move it to the running state (i.e., the next state).

- A SoftwareElement in the running state describes the details necessary to manage the started element.

Deployable (0)

Installable (1)

Executable (2)

Running (3)

TargetOperatingSystem

Data type: uint16

Access type: Read-only

Qualifiers: Key, MappingStrings ("MIF.DMTF|SubComponent Software|001.8"), ModelCorrespondence ("CIM_OperatingSystem.OSType")

The operating system of the software element. The value of this property does not ensure that it is binary executable.

Unknown (0)

Other (1)

MACOS (2)

ATTUNIX (3)

DGUX (4)

DECNT (5)

Tru64 UNIX (6)

OpenVMS (7)

HPUX (8)

AIX (9)

MVS (10)

OS400 (11)

OS/2 (12)

JavaVM (13)

MSDOS (14)

WIN3x (15)

WIN95 (16)

WIN98 (17)

WINNT (18)

WINCE (19)

NCR3000 (20)

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)

HP NonStop OS (33)

HP NonStop OSS (34)

BS2000 (35)

LINUX (36)

Lynx (37)

XENIX (38)

VM (39)

Interactive UNIX (40)

BSDUNIX (41)

FreeBSD (42)

NetBSD (43)

GNU Hurd (44)

OS9 (45)

MACH Kernel (46)

Inferno (47)

QNX (48)

EPOC (49)

IxWorks (50)

VxWorks (51)

MiNT (52)

BeOS (53)

HP MPE (54)

NextStep (55)

PalmPilot (56)

Rhapsody (57)

Windows 2000 (58)

Dedicated (59)

OS/390 (60)

VSE (61)

TPF (62)

Windows (R) Me (63)

Caldera Open UNIX (64)

OpenBSD (65)

Not Applicable (66)

Windows XP (67)

z/OS (68)

Microsoft Windows Server 2003 (69)

Microsoft Windows Server 2003 64-Bit (70)

Windows XP 64-Bit (71)

Windows XP Embedded (72)

Windows Vista (73)

Windows Vista 64-Bit (74)

Windows Embedded for Point of Service (75)

Microsoft Windows Server 2008 (76)

Microsoft Windows Server 2008 64-Bit (77)

FreeBSD 64-Bit (78)

RedHat Enterprise Linux (79)

RedHat Enterprise Linux 64-Bit (80)

Solaris 64-Bit (81)

SUSE (82)

SUSE 64-Bit (83)

SLES (84)

SLES 64-Bit (85)

Novell OES (86)

Novell Linux Desktop (87)

Sun Java Desktop System (88)

Mandriva (89)

Mandriva 64-Bit (90)

TurboLinux (91)

TurboLinux 64-Bit (92)

Ubuntu (93)

Ubuntu 64-Bit (94)

Debian (95)

Debian 64-Bit (96)

Linux 2.4.x (97)

Linux 2.4.x 64-Bit (98)

Linux 2.6.x (99)

Linux 2.6.x 64-Bit (100)

Linux 64-Bit (101)

Other 64-Bit (102)

Microsoft Windows Server 2008 R2 (103)

VMware ESXi (104)

Microsoft Windows 7 (105)

CentOS 32-bit (106)

CentOS 64-bit (107)

Oracle Enterprise Linux 32-bit (108)

Oracle Enterprise Linux 64-bit (109)

eComStation 32-bitx (110)

Version

Data type: string

Access type: Read-only

Qualifiers: Key, MaxLen (64), MappingStrings ("MIF.DMTF|SubComponent Software |001.4")

The software version in the format <Major>.<Minor>.<Revision> or <Major>.<Minor><letter><revision>.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\virtualization\v2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

See also

CIM_LogicalElement

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)

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

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