Represents the port bandwidth feature status data.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), UUID("24AD3CE1-69BD-4978-B2AC-DAAD389D699C"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("1"), InterfaceRevision("0"), DisplayName("Ethernet Switch Port Bandwidth Feature Status"), AMENDMENT]
class Msvm_EthernetSwitchPortBandwidthData : Msvm_EthernetPortData
{
string InstanceID;
string Caption = "Ethernet Switch Port Bandwidth Feature Status";
string Description = "Represents the port bandwidth feature status data.";
string ElementName = "Ethernet Switch Port Bandwidth Feature Status";
string SystemCreationClassName = "Msvm_VirtualEthernetSwitch";
string SystemName;
string DeviceCreationClassName = "Msvm_EthernetSwitchPort";
string DeviceID;
string CreationClassName = "Msvm_EthernetSwitchPortBandwidthData";
string Name;
uint32 CurrentBandwidthReservationPercentage = 0;
};
Members
The Msvm_EthernetSwitchPortBandwidthData class has these types of members:
Properties
The Msvm_EthernetSwitchPortBandwidthData 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, and it is always set to "Ethernet Switch Port Bandwidth Feature Status".
CreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen ( 256 )
The name of the subclass used in the creation of this port data instance. This property is inherited from Msvm_EthernetPortData, and it is always set to "Msvm_EthernetSwitchPortBandwidthData".
CurrentBandwidthReservationPercentage
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (1), InterfaceVersion (1), InterfaceRevision (0)
The current percentage of bandwidth reserved for this port.
Description
Data type: string
Access type: Read-only
A description of the object. This property is inherited from CIM_ManagedElement, and it is always set to "Represents the port bandwidth feature status data.".
DeviceCreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen ( 256 )
The scoping system's creation class name. This property is inherited from Msvm_EthernetPortData, and it is always set to "Msvm_EthernetSwitchPort".
DeviceID
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen ( 64 )
The Device ID of the port that scopes this port data instance. This property is inherited from Msvm_EthernetPortData.
ElementName
Data type: string
Access type: Read-only
A display name for the object. This property is inherited from CIM_ManagedElement, and it is always set to "Ethernet Switch Port Bandwidth Feature Status".
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, MaxLen ( 256 )
A string that uniquely identifies this port data instance within the scope of the switch and port. This property is inherited from Msvm_EthernetPortData.
SystemCreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The scoping system's creation class name. This property is inherited from Msvm_EthernetPortData, and it is always set to "Msvm_VirtualEthernetSwitch".
SystemName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen ( 256 )
The name of the virtual switch that scopes this port data instance. This property is inherited from Msvm_EthernetPortData.
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.
