大网数据广告活动
Hyper-V与虚拟化

Msvm_VirtualEthernetSwitchManagementCapabilities class

· 52CE 我爱测

Describes the capabilities of the associated Msvm_VirtualEthernetSwitchManagementService.

Describes the capabilities of the associated Msvm_VirtualEthernetSwitchManagementService.

The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.

Syntax

[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_VirtualEthernetSwitchManagementCapabilities : CIM_VirtualSystemManagementCapabilities
{
  string  InstanceID;
  string  Caption = "Hyper-V Virtual Ethernet Switch Management Service Capabilities";
  string  Description = "Defines Virtual Ethernet Switch Management Service Capabilities";
  string  ElementName = "Hyper-V Virtual Ethernet Switch Management Service Capabilities";
  boolean ElementNameEditSupported;
  unit16  MaxElementNameLen;
  unit16  RequestedStatesSupported[];
  string  ElementNameMask;
  string  VirtualSystemTypesSupported[];
  uint16  SynchronousMethodsSupported[];
  uint16  AsynchronousMethodsSupported[];
  uint16  IndicationsSupported[];
  boolean IOVSupport;
  string  IOVSupportReasons[];
};

Members

The Msvm_VirtualEthernetSwitchManagementCapabilities class has these types of members:

Properties

The Msvm_VirtualEthernetSwitchManagementCapabilities class has these properties.

AsynchronousMethodsSupported

Data type: uint16 array

Access type: Read-only

Qualifiers: Override ("CIM_VirtualSystemManagementCapabilities.AsynchronousMethodsSupported")

An array of method identifiers, each identifying a method of the Msvm_VirtualEthernetSwitchManagementService class that is supported asynchronously by the implementation. This property is inherited from CIM_VirtualSystemManagementCapabilities.

DefineSystem (2)

DestroySystem (3)

DestroySystemConfiguration (4)

ModifyResourceSettings (5)

ModifySystemSettings (6)

RemoveResources (7)

SelectSystemConfiguration (8)

SnapshotSystem (9)

AddResources (10)

AddFeatureSettingsSupported (32779)

ModifyFeatureSettingsSupported (32780)

RemoveFeatureSettingsSupported (32781)

AddFeatureSettingsSupported (32779)

ModifyFeatureSettingsSupported (32780)

RemoveFeatureSettingsSupported (32781)

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 "Hyper-V Virtual Ethernet Switch Management Service Capabilities".

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 "Defines Virtual Ethernet Switch Management Service Capabilities".

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 "Hyper-V Virtual Ethernet Switch Management Service Capabilities".

ElementNameEditSupported

Data type: boolean

Access type: Read-only

Indicates whether the ElementName property can be modified. This property is inherited from CIM_EnabledLogicalElementCapabilities.

ElementNameMask

Data type: string

Access type: Read-only

Specifies the restrictions on ElementName, expressed as a regular expression. This property is inherited from CIM_EnabledLogicalElementCapabilities.

IndicationsSupported

Data type: uint16 array

Access type: Read-only

An array of indication identifiers, each identifying an indication that is supported by the implementation. This property is inherited from CIM_VirtualSystemManagementCapabilities.

Value Meaning
VirtualResourceStateChangeIndicationsSupported 2 Indicates whether the implementation supports notification on state changes of CIM_LogicalDevice instances that represent resources of virtual systems.
ConcreteJobStateChangeIndicationsSupported 3 Indicates whether the implementation supports notification on state changes of CIM_ConcreteJob instances.
VirtualSystemStateChangeIndicationsSupported 4 Indicates whether the implementation supports notification on state changes of CIM_ComputerSystem instances that represent virtual systems.
DMTF Reserved ..
Vendor Reserved 32767..65535

InstanceID

Data type: string

Access type: Read-only

Qualifiers: Key

Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.

IOVSupport

Data type: boolean

Access type: Read-only

A boolean value that indicates whether I/O virtualization (IOV) is supported by the platform. If the value is True, then IOV is supported by the platform and IOVSupportReasons will be empty. Otherwise the IOVSupportReasons property will have the reasons why IOV cannot be supported.

IOVSupportReasons

Data type: string array

Access type: Read-only

An array of strings that indicates the possible reasons why IOV is not supported. If the value of IOVSupport is True, this array will be empty.

MaxElementNameLen

Data type: unit16

Access type: Read-only

Qualifiers: MaxValue (256)

Specifies the maximum supported length of the ElementName property. This property is inherited from CIM_EnabledLogicalElementCapabilities.

RequestedStatesSupported

Data type: unit16 array

Access type: Read-only

Indicates the possible states that can be requested when using the RequestStateChange method on the enabled logical element. This property is inherited from CIM_EnabledLogicalElementCapabilities and is always Null.

SynchronousMethodsSupported

Data type: uint16 array

Access type: Read-only

An array of method identifiers, each identifying a method of the Msvm_VirtualEthernetSwitchManagementService class that is supported synchronously by the implementation. This property is inherited from CIM_VirtualSystemManagementCapabilities.

DefineSystem (2)

DestroySystem (3)

DestroySystemConfiguration (4)

ModifyResourceSettings (5)

ModifySystemSettings (6)

RemoveResources (7)

SelectSystemConfiguration (8)

SnapshotSystem (9)

AddResources (10)

AddFeatureSettings (32779)

ModifyFeatureSettings (32780)

RemoveFeatureSettings (32781 )

VirtualSystemTypesSupported

Data type: string array

Access type: Read-only

An array of strings, each designating a type of virtual system that the implementation supports. The value of each non-Null array element must conform to the format defined for the VirtualSystemType property of the Msvm_VirtualSystemSettingData class. This property is inherited from CIM_VirtualSystemManagementCapabilities.

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。