Represents switch operational parameters.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), UUID("1D18CDCF-209E-4172-875D-6D208A0A8375"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("1"), InterfaceRevision("0"), DisplayName("Ethernet Switch Modes Supported "), AMENDMENT]
class Msvm_EthernetSwitchOperationalData : Msvm_EthernetSwitchData
{
string InstanceID;
string Caption = "Ethernet Switch Modes Supported";
string Description = "Represents switch operational parameters.";
string ElementName = "Ethernet Switch Modes Supported";
string SystemCreationClassName = "Msvm_VirtualEthernetSwitch";
string SystemName;
string CreationClassName = " Msvm_EthernetSwitchOperationalData";
string Name;
uint32 CurrentSwitchingMode = 1;
uint32 SupportedSwitchingModes[] = {1};
};
Members
The Msvm_EthernetSwitchOperationalData class has these types of members:
Properties
The Msvm_EthernetSwitchOperationalData class has these properties.
Caption
Data type: string
Access type: Read-only
A short description of the object. This property is inherited from CIM_ManagedElement.
CreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The name of the class or subclass used in the creation of this instance. This property is inherited from Msvm_EthernetSwitchData.
CurrentSwitchingMode
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId (1), InterfaceVersion (1), InterfaceRevision (0)
The current switching mode on the switch.
Unknown (0)
802.1Q (1)
802.1Qbg (2)
802.1Qbh (3)
Description
Data type: string
Access type: Read-only
A description of the object. This property is inherited from CIM_ManagedElement.
ElementName
Data type: string
Access type: Read-only
A display name for the object. This property is inherited from CIM_ManagedElement.
InstanceID
Data type: string
Access type: Read-only
Qualifiers: Key
Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.
Name
Data type: string
Access type: Read-only
Qualifiers: Key, Override, MaxLen (256)
The unique name of the resource. This property is inherited from Msvm_EthernetSwitchData.
SupportedSwitchingModes
Data type: uint32 array
Access type: Read-only
Qualifiers: WmiDataId (2), InterfaceVersion (1), InterfaceRevision (0)
The switching modes supported by the switch.
SystemCreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The hosting system's creation class name. This property is inherited from Msvm_EthernetSwitchData.
SystemName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The name of the virtual switch to which the associated resource instance is bound. This property is inherited from Msvm_EthernetSwitchData.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| 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.
