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

Win32_ClassInfoAction class

The Win32_ClassInfoAction WMI class manages the registration of COM class information with the system. In the Advertise mode, the action registers all COM classes for which the corresponding feature is enabled. Otherwise, the action registers COM classes for which the corresponding feature is currently selected to be installed.

Note  For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.

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

Syntax

[Provider("MSIProv"), Dynamic]class Win32_ClassInfoAction : CIM_Action
{
  string ActionID;
  string AppID;
  string Argument;
  string Caption;
  string CLSID;
  string Context;
  string DefInprocHandler;
  string Description;
  uint16 Direction;
  string FileTypeMask;
  uint16 Insertable;
  string Name;
  string ProgID;
  string RemoteName;
  string SoftwareElementID;
  uint16 SoftwareElementState;
  uint16 TargetOperatingSystem;
  string Version;
  string VIProgID;
};

Members

The Win32_ClassInfoAction class has these types of members:

Methods

The Win32_ClassInfoAction class has these methods.

MethodDescription
Invoke

Takes a particular action. The details of how the method performs the action are implementation-specific.

 

Properties

The Win32_ClassInfoAction class has these properties.

ActionID
Data type: string
Access type: Read-only

Unique identifier assigned to a particular action for a software element.

AppID
Data type: string
Access type: Read-only

Application identifier that contains COM information for the associated application (string GUID)

Argument
Data type: string
Access type: Read-only

Registered argument against the OLE server, used by OLE for invoking the server. The property is optional when the Context property is set to the LocalServer or LocalServer32 server context.

Caption
Data type: string
Access type: Read-only

Short textual description (one line) of the object.

CLSID
Data type: string
Access type: Read-only

Class identifier of a COM server.

Context
Data type: string
Access type: Read-only

Server context for this server. Values are:

"LocalServer"

"LocalServer32"

"InprocServer"

"InprocServer32"

DefInprocHandler
Data type: string
Access type: Read-only

Default in-process handler. May be optionally provided only when the Context property is LocalServer or LocalServer32. A nonnumeric value is treated as a system file that serves as the 32-bit InprocHandler (appearing as the InprocHandler32 value).

ValueMeaning
1

16-bit InprocHandler (appearing as the InprocHandler value)

2

32-bit InprocHandler (appearing as the InprocHandler32 value)

3

16-bit as well as 32-bit InprocHandlers

 

Description
Data type: string
Access type: Read-only

Description of the object.

Direction
Data type: uint16
Access type: Read-only

Whether a particular CIM_Action object is part of a sequence of actions to transition the current software element to its next state (Install) or to remove the current software element (Uninstall).

ValueMeaning
1

Install

2

Uninstall

 

FileTypeMask
Data type: string
Access type: Read-only

Information for the HKey Classes Root (this CLSID) key. If multiple patterns exist, they must be delimited by semicolons, and numeric subkeys are generated: 0, 1, 2.

Insertable
Data type: uint16
Access type: Read-only

Object is insertable.

ValueMeaning
0

TRUE

1

FALSE

 

Name
Data type: string
Access type: Read-only

Name used to identify the software element.

ProgID
Data type: string
Access type: Read-only

Default program identifier associated with the class identifier.

RemoteName
Data type: string
Access type: Read-only

Name used remotely for the server.

SoftwareElementID
Data type: string
Access type: Read-only

Identifier for the software element.

SoftwareElementState
Data type: uint16
Access type: Read-only

State of a software element.

ValueMeaning
1

Deployable

2

Installable

3

Executable

4

Running

 

TargetOperatingSystem
Data type: uint16
Access type: Read-only

Target operating system of the owning software element. The possible values for this property are as follows.

ValueMeaning
0

Unknown

1

Other

2

MACOS

3

ATTUNIX

4

DGUX

5

DECNT

6

Digital Unix

7

OpenVMS

8

HPUX

9

AIX

10

MVS

11

OS400

12

OS/2

13

JavaVM

14

MSDOS

15

WIN3x

16

WIN95

17

WIN98

18

WINNT

19

WINCE

20

NCR3000

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

ASERIES

33

TandemNSK

34

TandemNT

35

BS2000

36

LINUX

37

Lynx

38

XENIX

39

VM/ESA

40

Interactive UNIX

41

BSDUNIX

42

FreeBSD

43

NetBSD

44

GNU Hurd

45

OS9

46

MACH Kernel

47

Inferno

48

QNX

49

EPOC

50

IxWorks

51

VxWorks

52

MiNT

53

BeOS

54

HP MPE

55

NextStep

56

PalmPilot

57

Rhapsody

 

Version
Data type: string
Access type: Read-only

Version of the software element. Values should be in the form [Major].[Minor].[Revision] or [Major].[Minor][letter][revision].

VIProgID
Data type: string
Access type: Read-only

VI program identifier associated with the class identifier.

Remarks

The Win32_ClassInfoAction class is derived from CIM_Action.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Namespace

\root\CIMV2

MOF

Msi.mof

DLL

Msiprov.dll

See also

Installed Applications Classes

 

 

Community-Beiträge

Anzeigen:
© 2014 Microsoft