Msvm_VirtualEthernetSwitchManagementCapabilities 类

描述关联 Msvm_VirtualEthernetSwitchManagementService的功能。

以下语法是简化的托管对象格式 (MOF) 代码,它包括所有继承的属性。

语法

[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[];
};

成员

Msvm_VirtualEthernetSwitchManagementCapabilities 类具有以下类型的成员:

属性

Msvm_VirtualEthernetSwitchManagementCapabilities 类具有以下属性。

AsynchronousMethodsSupported

数据类型: uint16 数组

访问类型:只读

限定符: 重写 (“CIM_VirtualSystemManagementCapabilities.AsynchronousMethodsSupported”)

方法标识符的数组,每个标识符都标识实现异步支持的 Msvm_VirtualEthernetSwitchManagementService 类的方法。 此属性继承自 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

数据类型: 字符串

访问类型:只读

对象的简短说明。 此属性继承自 CIM_ManagedElement,并且始终设置为“Hyper-V 虚拟以太网交换机管理服务功能”。

描述

数据类型: 字符串

访问类型:只读

对象的说明。 此属性继承自 CIM_ManagedElement,并且始终设置为“定义虚拟以太网交换机管理服务功能”。

ElementName

数据类型: 字符串

访问类型:只读

对象的显示名称。 此属性继承自 CIM_ManagedElement,并且始终设置为“Hyper-V 虚拟以太网交换机管理服务功能”。

ElementNameEditSupported

数据类型: 布尔值

访问类型:只读

指示是否可以修改 ElementName 属性。 此属性继承自 CIM_EnabledLogicalElementCapabilities

ElementNameMask

数据类型: 字符串

访问类型:只读

指定 ElementName 的限制,表示为正则表达式。 此属性继承自 CIM_EnabledLogicalElementCapabilities

IndicationsSupported

数据类型: uint16 数组

访问类型:只读

指示标识符的数组,每个标识符标识实现支持的指示。 此属性继承自 CIM_VirtualSystemManagementCapabilities

含义
VirtualResourceStateChangeIndicationsSupported
2
指示实现是否支持有关表示虚拟系统资源的 CIM_LogicalDevice 实例的状态更改的通知。
ConcreteJobStateChangeIndicationsSupported
3
指示实现是否支持 CIM_ConcreteJob实例的状态 更改通知。
VirtualSystemStateChangeIndicationsSupported
4
指示实现是否支持有关表示虚拟系统的 CIM_ComputerSystem 实例的状态更改的通知。
DMTF 保留
..
保留的供应商
32767..65535

InstanceID

数据类型: 字符串

访问类型:只读

限定符:

唯一标识此类的实例。 此属性继承自 CIM_ManagedElement

IOVSupport

数据类型: 布尔值

访问类型:只读

一个布尔值,指示平台是否支持 I/O 虚拟化 (IOV) 。 如果值为 True,则平台支持 IOV, IOVSupportReasons 将为空。 否则, IOVSupportReasons 属性将具有 IOV 不受支持的原因。

IOVSupportReasons

数据类型: 字符串 数组

访问类型:只读

表示不支持 IOV 的可能原因的字符串数组。 如果 IOVSupport 的值为 True,则此数组将为空。

MaxElementNameLen

数据类型: unit16

访问类型:只读

限定符: MaxValue (256)

指定 ElementName 属性支持的最大长度。 此属性继承自 CIM_EnabledLogicalElementCapabilities

RequestedStatesSupported

数据类型: unit16 数组

访问类型:只读

指示在启用的逻辑元素上使用 RequestStateChange 方法时可以请求的可能状态。 此属性继承自 CIM_EnabledLogicalElementCapabilities 且始终为 Null

SynchronousMethodsSupported

数据类型: uint16 数组

访问类型:只读

一个方法标识符数组,每个标识符标识实现同步支持的 Msvm_VirtualEthernetSwitchManagementService 类的方法。 此属性继承自 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

数据类型: 字符串 数组

访问类型:只读

字符串数组,每个字符串指定实现支持的虚拟系统类型。 每个非 Null 数组元素的值必须符合为 Msvm_VirtualSystemSettingData 类的 VirtualSystemType 属性定义的格式。 此属性继承自 CIM_VirtualSystemManagementCapabilities

要求

要求
最低受支持的客户端
Windows 8 [仅限桌面应用]
最低受支持的服务器
Windows Server 2012 [仅限桌面应用]
命名空间
Root\Virtualization\V2
MOF
WindowsVirtualization.V2.mof
DLL
Vmms.exe