Defines the association between an Ethernet switch and a switch resource.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Association, Aggregation, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_EthernetSwitchInfo : CIM_Dependency
{
Msvm_VirtualEthernetSwitch REF Antecedent;
Msvm_EthernetSwitchData REF Dependent;
};
Members
The Msvm_EthernetSwitchInfo class has these types of members:
Properties
The Msvm_EthernetSwitchInfo class has these properties.
Antecedent
Data type: Msvm_VirtualEthernetSwitch
Access type: Read-only
Qualifiers: Override ("Antecedent")
A reference to the Msvm_VirtualEthernetSwitch class that represents the hosting system. This property is derived from CIM_Dependency.
Dependent
Data type: Msvm_EthernetSwitchData
Access type: Read-only
Qualifiers: Override ("Dependent")
A reference to the Msvm_EthernetSwitchData class that represents the switch resource. This property is derived from CIM_Dependency.
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.
