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

CIM_EthernetPortAllocationSettingData class

· 52CE 我爱测

Represents settings for the allocation of the ethernet port, in addition to the settings provided by the CIM_EthernetPort class. These settings are used to provide information specific to the resource itself.

Represents settings for the allocation of the ethernet port, in addition to the settings provided by the CIM_EthernetPort class. These settings are used to provide information specific to the resource itself.

Syntax

[Abstract, Version("2.26.0"), UMLPackagePath("CIM::Core::Resource"), AMENDMENT]
class CIM_EthernetPortAllocationSettingData : CIM_ResourceAllocationSettingData
{
  uint16 DesiredVLANEndpointMode;
  string OtherEndpointMode;
};

Members

The CIM_EthernetPortAllocationSettingData class has these types of members:

Properties

The CIM_EthernetPortAllocationSettingData class has these properties.

DesiredVLANEndpointMode

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.OperationalEndpointMode", "CIM_VLANEndpoint.DesiredEndpointMode", "CIM_EthernetPortAllocationSettingData.OtherEndpointMode")

The requested VLAN mode. This property is used to set the initial OperationalEndpointMode property value in the instance of CIM_VLANEndpoint associated with the ethernet port.

DMTF Reserved (0)

Other (1)

Access (2)

Dynamic Auto (3)

Dynamic Desirable (4)

Trunk (5)

Dot1Q Tunnel (6)

DMTF Reserved (..)

Vendor Reserved (0x8000..0xFFFF)

OtherEndpointMode

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_EthernetPortAllocationSettingData.DesiredVLANEndpointMode")

The type of VLAN endpoint model that is supported by this VLAN endpoint, when the value of the mode property is set to "1" (Other). This property should be set to NULL when the mode property is any value other than "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

See also

CIM_ResourceAllocationSettingData

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)

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

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