EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

CIM_SoftwareElement class

The CIM_SoftwareElement class decomposes a CIM_SoftwareFeature object into a set of individually manageable or deployable parts for a particular platform. A software element's platform is uniquely identified by its underlying hardware architecture and operating system.

As such, to understand the details of how the functionality of a particular software feature is provided on a particular platform, the CIM_SoftwareElement objects referenced by CIM_SoftwareFeatureSoftwareElements associations are organized in disjoint sets based on the TargetOperatingSystem property. A CIM_SoftwareElement object captures the management details of a part or component in one of four states characterized by the SoftwareElementState property.

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

Syntax

class CIM_SoftwareElement : CIM_LogicalElement
{
  string   BuildNumber;
  string   Caption;
  string   CodeSet;
  string   Description;
  string   IdentificationCode;
  datetime InstallDate;
  string   LanguageEdition;
  string   Manufacturer;
  string   Name;
  string   OtherTargetOS;
  string   SerialNumber;
  string   SoftwareElementID;
  uint16   SoftwareElementState;
  string   Status;
  uint16   TargetOperatingSystem;
  string   Version;
};

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

Internal identifier for the compilation of this software element.

Caption
Data type: string
Access type: Read-only

Short textual description of the object. This property is inherited from CIM_ManagedSystemElement.

CodeSet
Data type: string
Access type: Read-only

Code set used by the software element.

Description
Data type: string
Access type: Read-only

Textual description of the object. This property is inherited from CIM_ManagedSystemElement.

IdentificationCode
Data type: string
Access type: Read-only

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

InstallDate
Data type: datetime
Access type: Read-only

Date and time the object was installed. This property does not need a value to indicate that the object is installed. This property is inherited from CIM_ManagedSystemElement.

LanguageEdition
Data type: string
Access type: Read-only

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.

Manufacturer
Data type: string
Access type: Read-only

Manufacturer of the software element.

Name
Data type: string
Access type: Read-only

Name used to identify the software element This property is inherited from CIM_ManagedSystemElement.

OtherTargetOS
Data type: string
Access type: Read-only

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.

SerialNumber
Data type: string
Access type: Read-only

Serial number of the software element.

SoftwareElementID
Data type: string
Access type: Read-only

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.

SoftwareElementState
Data type: uint16
Access type: Read-only

State of a software element.

ValueMeaning
0

Deployable

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).

1

Installable

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).

2

Executable

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).

3

Running

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

 

Status
Data type: string
Access type: Read-only

Current status of the object. This property is inherited from CIM_ManagedSystemElement.

Values include the following:

"OK"
"Error"
"Degraded"
"Unknown"
"Pred Fail"
"Starting"
"Stopping"
"Service"
"Stressed"
"NonRecover"
"No Contact"
"Lost Comm"
TargetOperatingSystem
Data type: uint16
Access type: Read-only

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.

ValueMeaning
0

Unknown

1

Other

2

Mac OS

3

ATT UNIX

4

DGUX

5

DECNT

6

Digital UNIX

7

Open VMS

8

HP-UX

9

AIX

10

MVS

11

OS400

12

OS/2

13

Microsoft Virtual Machine (VM) for Java

14

MSDOS

15

Windows 3.x

16

Windows 95

17

Windows 98

18

Windows NT

19

Windows CE

20

NCR 3000

21

NetWare

22

OSF

23

DC/OS

24

Reliant UNIX

25

SCO UnixWare

26

SCO OpenServer

27

Sequent

28

IRIX

29

Solaris

30

SunOS

31

U6000

32

A Series

33

Tandem NSK

34

Tandem NT

35

BS2000/OSD

36

Linux

37

Lynx

38

Xenix

39

VM/ESA

40

Interactive UNIX

41

BSD UNIX

42

FreeBSD

43

NetBSD

44

GNU Hurd

45

Mac OS 9

46

Mach Kernel

47

Inferno

48

QNX

49

EPOC

50

IxWorks

51

VxWorks

52

MiNT

53

BeOS

54

HP MPE

55

NEXTSTEP

56

Palm OS

57

Rhapsody

58

Windows 2000

59

Dedicated

60

VSE

61

TPF

 

Version
Data type: string
Access type: Read-only

Version of the operation.

The version of the operation should be in one of the following forms:

  • <major>.<minor>.<revision>
  • <major>.<minor><letter><revision>

Remarks

The CIM_SoftwareElement class is derived from CIM_LogicalElement.

WMI does not implement this class. For WMI classes derived from CIM_SoftwareElement, 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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

CIMWin32.mof

DLL

CIMWin32.dll

 

 

Anzeigen:
© 2014 Microsoft