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

Msvm_EthernetSwitchPortIsolationSettingData class

· 52CE 我爱测

Represents the Isolation setting data.

Represents the Isolation setting data.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), UUID("83AF2CCB-72C9-4479-A285-94E58A98CAA6"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("1"), InterfaceRevision("0"), DisplayName("Ethernet Switch Port Isolation Settings"), AMENDMENT]
class Msvm_EthernetSwitchPortIsolationSettingData : Msvm_EthernetSwitchPortFeatureSettingData
{
  uint32  IsolationMode = 0;
  boolean AllowUntaggedTraffic = FALSE;
  uint32  DefaultIsolationId = 0;
  Boolean EnableMultiTenantStack = FALSE;
};

Members

The Msvm_EthernetSwitchPortIsolationSettingData class has these types of members:

Properties

The Msvm_EthernetSwitchPortIsolationSettingData class has these properties.

AllowUntaggedTraffic

Data type: boolean

Access type: Read/write

Qualifiers: WmiDataId (2), Version (1), Revision (0)

Whether the port is allowed to send/receive untagged traffic.

DefaultIsolationId

Data type: uint32

Access type: Read/write

Qualifiers: WmiDataId (3), Version (1), Revision (0)

The default VirtualSubnetId or VLAN that will be set on all send/receive traffic if AllowedUntaggedTraffic is true.

EnableMultiTenantStack

Data type: Boolean

Access type: Read/write

Qualifiers: WmiDataId (4), Version (1), Revision (0)

If true, the network stack in the VM will be able to access the isolation configuration. The default value is false.

IsolationMode

Data type: uint32

Access type: Read/write

Qualifiers: WmiDataId (1), Version (1), Revision (0)

Whether the port is using VLAN or VirtualSubnetId for isolation. NativeVirtualSubnetId is used for WNV VirtualSubnetId-based networks.

None (0)

NativeVirtualSubnetId (1)

ExternalVirtualSubnetId (2)

VLAN (3)

Requirements

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

See also

Msvm_EthernetSwitchPortFeatureSettingData

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)

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

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