Msvm_ServiceAffectsElement class

Associates a virtual computer system instance with the management service that controls its state.

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

Syntax

[Association, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_ServiceAffectsElement : CIM_ServiceAffectsElement
{
  CIM_ManagedElement REF AffectedElement;
  CIM_Service        REF AffectingElement;
  uint16                 ElementEffects[];
  string                 OtherElementEffectsDescriptions[];
};

Members

The Msvm_ServiceAffectsElement class has these types of members:

Properties

The Msvm_ServiceAffectsElement class has these properties.

AffectedElement

Data type: CIM_ManagedElement

Access type: Read-only

Qualifiers: Key

A reference to the virtual computer system.

This property is inherited from CIM_ServiceAffectsElement.

AffectingElement

Data type: CIM_Service

Access type: Read-only

Qualifiers: Key

A reference to the service that controls the virtual computer system.

This property is inherited from CIM_ServiceAffectsElement.

ElementEffects

Data type: uint16 array

Access type: Read-only

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

The effect on the managed element. This array corresponds to the OtherElementEffectsDescriptions array.

This property is set to 5 (Manages).

This property is inherited from CIM_ServiceAffectsElement.

Unknown (0)

Other (1)

Exclusive Use (2)

Performance Impact (3)

Element Integrity (4)

Manages (5)

Consumes (6)

Enhances Integrity (7)

Degrades Integrity (8)

Enhances Performance (9)

Degrades Performance (10)

DMTF Reserved

11 32767

Vendor Reserved

32768 65535

OtherElementEffectsDescriptions

Data type: string array

Access type: Read-only

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

Each item in the array provides additional information for the corresponding item in the ElementEffects array. A description is required for any item in the ElementEffects array that is set to Other ("1").

This property is set to NULL.

This property is inherited from CIM_ServiceAffectsElement.

Remarks

Access to the Msvm_ServiceAffectsElement class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

CIM_ServiceAffectsElement

CIM_ServiceAffectsElement

Virtual System Management Classes