Freigeben über


Msvm_ServiceAffectsElement class

Associates an instance of a virtual machine with the management service that controls its state.

The following syntax is simplified from Managed Object Format (MOF) code and 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

The managed element that is affected by the service.

This property is inherited from CIM_ServiceAffectsElement.

AffectingElement

Data type: CIM_Service

Access type: Read-only

Qualifiers: Key

The service that is affecting the managed element.

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 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")

Describes an ElementEffects array item when the item is set to "1" (other).

This property is inherited from CIM_ServiceAffectsElement.

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_ServiceAffectsElement

Failover Clustering Hyper-V WMI Provider