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

CIM_EnabledLogicalElementCapabilities class

· 52CE 我爱测

Describes the restrictions on the properties of an associated CIM_EnabledLogicalElement object.

Describes the restrictions on the properties of an associated CIM_EnabledLogicalElement object.

Syntax

[Abstract, Version("2.22.0"), UMLPackagePath("CIM::Core::Capabilities"), AMENDMENT]
class CIM_EnabledLogicalElementCapabilities : CIM_Capabilities
{
  boolean ElementNameEditSupported;
  uint16  MaxElementNameLen;
  uint16  RequestedStatesSupported[];
  string  ElementNameMask;
};

Members

The CIM_EnabledLogicalElementCapabilities class has these types of members:

Properties

The CIM_EnabledLogicalElementCapabilities class has these properties.

ElementNameEditSupported

Data type: boolean

Access type: Read-only

Qualifiers: MappingStrings ("FC-SWAPI.INCITS-T11|SWAPI_UNIT_CONFIG_CAPS_T|EditName"), ModelCorrespondence ("CIM_ManagedElement.ElementName")

true if the ElementName property of the enabled logical element can be modified; otherwise, false.

ElementNameMask

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElementCapabilities.MaxElementNameLen")

A regular expression that indicates the restrictions on the ElementName property of the enable logical element. See DMTF standard ABNF with the Management Profile Specification Usage Guide, appendix C for the permitted syntax.

Note:
If this property and the ElementNameMask property of the enable logical element describe the maximum length of ElementName, the smaller value is used.

MaxElementNameLen

Data type: uint16

Access type: Read-only

Qualifiers: MaxValue (256), MappingStrings ("FC-SWAPI.INCITS-T11|SWAPI_UNIT_CONFIG_CAPS_T|MaxNameChars"), ModelCorrespondence ("CIM_FCSwitchCapabilities.ElementNameEditSupported", "CIM_EnabledLogicalElementCapabilities.ElementNameMask")

The maximum supported length of the ElementName property of the enabled logical element.

RequestedStatesSupported

Data type: uint16 array

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EnabledLogicalElement.RequestStateChange")

The possible states that can be requested on the enabled logical element by the RequestStateChange method.

Enabled (2)

Disabled (3)

Shut Down (4)

Offline (6)

Test (7)

Defer (8)

Quiesce (9)

Reboot (10)

Reset (11)

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

See also

CIM_Capabilities

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)

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

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