Compartilhar via


Win32_NamedJobObject class

The Win32_NamedJobObject WMI class represents a kernel object that is used to group processes for controlling the life cycle and resources of the processes within the job object. Only the job objects that are named are instrumented.

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

Syntax

[Dynamic, Provider("NamedJobObjectProv"), UUID("{7552EF7F-7CC8-4022-9049-3B5E1B4B3852}"), AMENDMENT]
class Win32_NamedJobObject : CIM_CollectionOfMSEs
{
  string Caption;
  string Description;
  uint32 BasicUIRestrictions;
  string CollectionID;
};

Members

The Win32_NamedJobObject class has these types of members:

Properties

The Win32_NamedJobObject class has these properties.

BasicUIRestrictions

Data type: uint32

Access type: Read-only

Qualifiers: Bitvalues ("Desktop", "Display Settings", "Exit Windows", "Global Atoms", "Handles", "Read Clipboard", "System Parameters", "Write Clipboard")

Restrictions on a job regarding the user interface.

1 (0x1)

Desktop

2 (0x2)

Display Settings

4 (0x4)

Exit Windows

8 (0x8)

Global Atoms

16 (0x10)

Handles

32 (0x20)

Read Clipboard

64 (0x40)

System Parameters

128 (0x80)

Write Clipboard

Caption

Data type: string

Access type: Read-only

Short textual description of the object.

This property is inherited from CIM_CollectionOfMSEs.

CollectionID

Data type: string

Access type: Read-only

Qualifiers: Key, Override ("CollectionId")

Number that identifies a job object. Because they are kernel objects, job object names are case sensitive. However, Windows Management Instrumentation (WMI) keys are case insensitive and must be decorated to distinguish case. To indicate a capital letter, precede the letter by using a backslash. For example, "A" and "a" are lowercase and "\A" and "\a" are uppercase. This property overrides the CollectionID property in CIM_CollectionOfMSEs.

Description

Data type: string

Access type: Read-only

Textual description of the object.

This property is inherited from CIM_CollectionOfMSEs.

Remarks

The Win32_NamedJobObject class is derived from CIM_CollectionOfMSEs.

Requirements

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

See also

CIM_CollectionOfMSEs

Operating System Classes