Compartilhar via


CIM_ServiceAffectsElement class

Represents an association between a service and a managed element that might be affected by its execution.

Instantiating this class indicates that running the service may change, manage, provide functionality for, or affect the managed element. This might affect performance, throughput, availability, and so on.

The following syntax is simplified from MOF code and includes all inherited properties.

Syntax

[Association, Abstract, Version("2.14.0"), UMLPackagePath("CIM::Core::Service"), AMENDMENT]
class CIM_ServiceAffectsElement
{
  CIM_ManagedElement REF AffectedElement;
  CIM_Service        REF AffectingElement;
  uint16                 ElementEffects[];
  string                 OtherElementEffectsDescriptions[];
};

Members

The CIM_ServiceAffectsElement class has these types of members:

Properties

The CIM_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.

AffectingElement

Data type: CIM_Service

Access type: Read-only

Qualifiers: Key

The service that is affecting the managed element.

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.

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

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

Failover Clustering Hyper-V WMI Provider