Abstract class that represents a resource for a given instance of an Ethernet switch.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Abstract, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_EthernetSwitchData : CIM_ManagedElement
{
string InstanceID;
string Caption = "Ethernet Switch Bandwidth data";
string Description = "Represents the switch bandwidth resource status.";
string ElementName = "Ethernet Switch Bandwidth data";
string SystemCreationClassName = "Msvm_VirtualEthernetSwitch";
string SystemName;
string CreationClassName = " Msvm_EthernetSwitchBandwidthData";
string Name;
};
Members
The Msvm_EthernetSwitchData class has these types of members:
Properties
The Msvm_EthernetSwitchData 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
The name of the class or subclass used in the creation of this instance.
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 ("Name"), MaxLen (256)
The unique name of the resource.
SystemCreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, Propagated ("CIM_System.CreationClassName"), MaxLen (256)
The hosting system's creation class name.
SystemName
Data type: string
Access type: Read-only
Qualifiers: Key, Propagated ("CIM_System.Name"), MaxLen (256)
The name of the virtual switch to which the associated resource instance is bound.
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.
