Represents the port profile settings.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Dynamic, UUID("9940CD46-8B06-43BB-B9D5-93D50381FD56"), Provider("VmmsWmiInstanceAndMethodProvider"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("1"), InterfaceRevision("0"), DisplayName("Ethernet Switch Port Profile Settings"), AMENDMENT]
class Msvm_EthernetSwitchPortProfileSettingData : Msvm_EthernetSwitchPortFeatureSettingData
{
string InstanceID;
string Caption = "Ethernet Switch Port Profile Settings";
string Description = "Represents the port profile settings.";
string ElementName = "Ethernet Switch Port Profile Settings";
string ProfileName = "";
string ProfileId = "";
string VendorName = "";
string VendorId = 00000000-0000-0000-0000-000000000000}";
uint32 ProfileData = 0;
string NetCfgInstanceId = 00000000-0000-0000-0000-000000000000}";
uint32 PciSegmentNumber = 0;
uint32 PciBusNumber = 0;
uint32 PciDeviceNumber = 0;
uint32 PciFunctionNumber = 0;
uint32 CdnLabelId = 0;
string CdnLabelString = 0;
};
Members
The Msvm_EthernetSwitchPortProfileSettingData class has these types of members:
Properties
The Msvm_EthernetSwitchPortProfileSettingData 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 Profile Settings".
CdnLabelId
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (11), InterfaceVersion (1), InterfaceRevision (0)
The CDN label identifier.
CdnLabelString
Data type: string
Access type: Read/write
Qualifiers: MaxLen (127), WmiDataId (12), InterfaceVersion (1), InterfaceRevision (0)
The CDN label string.
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 profile settings.".
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 Profile Settings".
InstanceID
Data type: string
Access type: Read-only
Qualifiers: Key
Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.
NetCfgInstanceId
Data type: string
Access type: Read/write
Qualifiers: MaxLen (38), WmiDataId (6), InterfaceVersion (1), InterfaceRevision (0)
An unique device identifier of the subinterface.
PciBusNumber
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (8), InterfaceVersion (1), InterfaceRevision (0)
The PCI bus number.
PciDeviceNumber
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (9), InterfaceVersion (1), InterfaceRevision (0)
The PCI device number.
PciFunctionNumber
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (10), InterfaceVersion (1), InterfaceRevision (0)
The PCI function number.
PciSegmentNumber
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (7), InterfaceVersion (1), InterfaceRevision (0)
The PCI segment number.
ProfileData
Data type: uint32
Access type: Read/write
Qualifiers: WmiDataId (5), InterfaceVersion (1), InterfaceRevision (0)
Additional data for the port profile.
ProfileId
Data type: string
Access type: Read/write
Qualifiers: MaxLen (38), WmiDataId (2), InterfaceVersion (1), InterfaceRevision (0)
The identifier of the port profile.
ProfileName
Data type: string
Access type: Read/write
Qualifiers: MaxLen (127), WmiDataId (1), InterfaceVersion (1), InterfaceRevision (0)
The name of the port profile.
VendorId
Data type: string
Access type: Read/write
Qualifiers: MaxLen (38), WmiDataId (4), InterfaceVersion (1), InterfaceRevision (0)
The identifier of the vendor defining the profile.
VendorName
Data type: string
Access type: Read/write
Qualifiers: MaxLen (127), WmiDataId (3), InterfaceVersion (1), InterfaceRevision (0)
The name of the vendor defining the profile.
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.
