大网数据广告活动
Hyper-V与虚拟化

CIM_ServiceAffectsElement class

· 52CE 我爱测

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

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

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.

- Exclusive Use (2): No other Service may have this association to the element.

- Performance Impact (3): Deprecated in favor of "Consumes", "Enhances Performance", or "Degrades Performance". Execution of the Service may enhance or degrade the performance of the element. This may be as a side-effect of execution or as an intended consequence of methods provided by the Service.

- Element Integrity (4): Deprecated in favor of "Consumes", "Enhances Integrity", or "Degrades Integrity". Execution of the Service may enhance or degrade the integrity of the element. This may be as a side-effect of execution or as an intended consequence of methods provided by the Service.

- Manages (5): The Service manages the element.

- Consumes (6): Execution of the Service consumes some or all of the associated element as a consequence of running the Service. For example, the Service may consume CPU cycles, which may affect performance, or Storage which may affect both performance and integrity. (For instance, the lack of free storage can degrade integrity by reducing the ability to save state. ) "Consumes" may be used alone or in conjunction with other values, in particular, "Degrades Performance" and "Degrades Integrity".

"Manages" and not "Consumes" should be used to reflect allocation services that may be provided by a Service.

- Enhances Integrity (7): The Service may enhance integrity of the associated element.

- Degrades Integrity (8): The Service may degrade integrity of the associated element.

- Enhances Performance (9): The Service may enhance performance of the associated element.

- Degrades Performance (10): The Service may degrade performance of the associated element.

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

Vendor Reserved (0x8000..0xFFFF)

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

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\virtualization\v2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。