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

Msvm_FeatureSettingsDefineCapabilities class

· 52CE 我爱测

Provides a link between the Ethernet switch feature capabilities instance and the minimum, maximum, incremental, and default settings for a resource.

Provides a link between the Ethernet switch feature capabilities instance and the minimum, maximum, incremental, and default settings for a resource.

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

Syntax

[Association, Aggregation, Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), AMENDMENT]
class Msvm_FeatureSettingsDefineCapabilities : CIM_SettingsDefineCapabilities
{
  Msvm_EthernetSwitchFeatureCapabilities REF GroupComponent;
  Msvm_FeatureSettingData                REF PartComponent;
  uint16                                     PropertyPolicy = 0;
  uint16                                     ValueRole = 3;
  uint16                                     ValueRange = 0;
};

Members

The Msvm_FeatureSettingsDefineCapabilities class has these types of members:

Properties

The Msvm_FeatureSettingsDefineCapabilities class has these properties.

GroupComponent

Data type: Msvm_EthernetSwitchFeatureCapabilities

Access type: Read-only

Qualifiers: Override ("GroupComponent")

A reference to an instance of the Msvm_EthernetSwitchFeatureCapabilities class that represents the Ethernet switch feature capabilities. This property is inherited from CIM_Component.

PartComponent

Data type: Msvm_FeatureSettingData

Access type: Read-only

Qualifiers: Override ("PartComponent")

A reference to an instance of the Msvm_FeatureSettingData class that represents the resource settings. This property is inherited from CIM_Component.

PropertyPolicy

Data type: uint16

Access type: Read-only

Specifies whether the non-Null, non-key properties of the PartComponent are treated independently or as a correlated set. For example, an independent set of maximum properties might be defined, yet there is no relationship between each property. On the other hand, several correlated sets of maximum properties might need to be defined when the maximum values of each are dependent on some of the others.

This property is inherited from CIM_SettingsDefineCapabilities.

Independent (0)

Correlated (1)

ValueRange

Data type: uint16

Access type: Read-only

Qualifiers: Key

Indicates further semantics on the interpretation of all non-Null, non-key properties of the setting data.

The values below are only evaluated against non-Null, non-key, non-enumerated, non-Boolean, numeric properties of the setting data. Each property of that set must be mathematically comparable to other instances of that property.

This property is inherited from CIM_SettingsDefineCapabilities.

Value Meaning
Point 0 This setting data instance provides a single set of values.
Minimums 1 This setting data provides minimum values for evaluated properties. When used with PropertyPolicy = "Independent", only one such setting per particular setting data instance must be specified for any capabilities. Unless restricted by a Maximums value on the same set of properties, all values that compare higher than the specified values are also considered to be supported by the associated capabilities instance.
Maximums 2 This setting data provides maximum values for evaluated properties. When used with PropertyPolicy = "Independent", only one such setting per particular setting data instance must be specified for any capabilities. Unless restricted by a Minimums value on the same set of properties, all values that compare lower than the specified values are also considered to be supported by the associated capabilities instance.
Increments 3 This setting data provides increment values for evaluated properties. For the associated capabilities, if an evaluated property currently has no corresponding Minimums or Maximums values, then the property has no affect. Otherwise, for each evaluated property, its value (x) must be between the MinimumValue and MaximumValue, inclusively, and must have the property that both the result of MaximumValue minus x and the result of x minus MinimumValue are each an integer multiple of the Increment. If either MinimumValue or MaximumValue is not specified and the other is, then the missing value must be respectively assumed to be the lowest or highest supported value for the property's data type. Additionally, if both a MinimumValue and a MaximumValue are specified for an evaluated property, then the result of MaximumValue minus MinimumValue must be an integer multiple of the Increment.

ValueRole

Data type: uint16

Access type: Read-only

Qualifiers: Key

Specifies further semantics on the interpretation of the non-Null, non-key properties of the setting data. This property is inherited from CIM_SettingsDefineCapabilities.

Value Meaning
Default 0 The property values of the setting data will be used as default values, when a new setting data instance is created for elements whose capabilities are defined by the associated capabilities. Across instances of the setting data, for particular properties having the same semantic purpose, at most one such setting data instance must be specified as a default.
Optimal 1 The setting data instance represents optimal setting values for elements associated with the associated capabilities. Multiple component setting data instances may be declared as optimal.
Mean 2 The non-Null, non-key, non-enumerated, non-Boolean, numeric properties of the associated setting data instance represents an average point along some dimension. For different combinations of setting data properties, multiple component setting data instances may be declared as Mean.
Supported 3 The non-Null, non-key properties of the setting data represents a set of supported property values that are not otherwise qualified.

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)

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

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