Share via


Msvm_AffectedJobElement class

Represents an association between a job and the managed element that can be affected by the job's execution.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Association, Aggregation, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_AffectedJobElement : CIM_AffectedJobElement
{
  CIM_ManagedElement REF AffectedElement;
  CIM_Job            REF AffectingElement;
  uint16                 ElementEffects[];
  string                 OtherElementEffectsDescriptions[];
};

Members

The Msvm_AffectedJobElement class has these types of members:

Properties

The Msvm_AffectedJobElement class has these properties.

AffectedElement

Data type: CIM_ManagedElement

Access type: Read-only

Qualifiers: Key

The managed element affected by the execution of the job.

This property is inherited from CIM_AffectedJobElement.

AffectingElement

Data type: CIM_Job

Access type: Read-only

Qualifiers: Key

The job that is affecting the managed element.

This property is inherited from CIM_AffectedJobElement.

ElementEffects

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_AffectedJobElement.OtherElementEffectsDescriptions")

The effect the job has on the managed element.

This property is inherited from CIM_AffectedJobElement.

The possible values are:

Unknown (0)

Other (1)

Exclusive Use (2)

Performance Impact (3)

Element Integrity (4)

Create (5)

OtherElementEffectsDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_AffectedJobElement.ElementEffects")

Additional details for corresponding "1" (Other) values in the ElementEffects array.

This property is inherited from CIM_AffectedJobElement.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_AffectedJobElement

Failover Clustering Hyper-V WMI Provider