共用方式為


CIM_AffectedJobElement class

AffectedJobElement represents an association between a Job and the ManagedElement(s) that may be affected by its execution. It may not be feasible for the Job to describe all of the affected elements. The main purpose of this association is to provide information when a Job requires exclusive use of the 'affected' ManagedElment(s) or when describing that side effects may result.

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 the inherited properties.

Syntax

class CIM_AffectedJobElement
{
  CIM_ManagedElement REF AffectedElement;
  CIM_Job            REF AffectingElement;
  uint16                 ElementEffects[];
  string                 OtherElementEffectsDescriptions[];
};

Members

The CIM_AffectedJobElement class has these types of members:

  • Properties

Properties

The CIM_AffectedJobElement class has these properties.

AffectedElement

Data type: CIM_ManagedElement

Access type: Read-only

Qualifiers: Key

The ManagedElement affected by the execution of the Job.

AffectingElement

Data type: CIM_Job

Access type: Read-only

Qualifiers: Key

The Job that is affecting the ManagedElement.

ElementEffects

Data type: uint16 array

Access type: Read-only

An enumeration describing the 'effect' on the ManagedElement. This array corresponds to the OtherElementEffectsDescriptions array, where the latter provides details related to the high-level 'effects' enumerated by this property. Additional detail is required if the ElementEffects array contains the value 1, "Other".

Unknown (0)

Other (1)

Exclusive Use (2)

Performance Impact (3)

Element Integrity (4)

OtherElementEffectsDescriptions

Data type: string array

Access type: Read-only

Provides details for the 'effect' at the corresponding array position in ElementEffects. This information is required whenever ElementEffects contains the value 1 ("Other").

Requirements

Namespace

Root\CIMV2