Поделиться через


Msvm_SettingsDefineCapabilities class

Provides a link between the 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_SettingsDefineCapabilities : CIM_SettingsDefineCapabilities
{
  CIM_Capabilities REF GroupComponent;
  CIM_SettingData  REF PartComponent;
  uint16               PropertyPolicy = 0;
  uint16               ValueRole;
  uint16               ValueRange;
};

Members

The Msvm_SettingsDefineCapabilities class has these types of members:

Properties

The Msvm_SettingsDefineCapabilities class has these properties.

GroupComponent

Data type: CIM_Capabilities

Access type: Read-only

Qualifiers: Aggregate, Max (1)

A reference to the CIM_Capabilities instance.

This property is inherited from CIM_SettingsDefineCapabilities.

PartComponent

Data type: CIM_SettingData

Access type: Read-only

A reference to the CIM_SettingData instance used to define the CIM_Capabilities instance.

This property is inherited from CIM_SettingsDefineCapabilities.

PropertyPolicy

Data type: uint16

Access type: Read-only

Qualifiers: Required, ModelCorrespondence ("CIM_SettingsDefineCapabilities.ValueRole", "CIM_SettingsDefineCapabilities.ValueRange")

Indicates whether the non-null, non-key properties of the associated CIM_SettingData instance are treated independently or as a correlated set. For instance, an independent set of maximum properties might be defined when there is no relationship between each property. In contrast, 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 always set to 0 (Independent).

This property is inherited from CIM_SettingsDefineCapabilities.

ValueRange

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_SettingsDefineCapabilities.PropertyPolicy", "CIM_SettingsDefineCapabilities.ValueRole")

Indicates the type of value range used by properties of the non-null, non-key properties of the CIM_SettingData instance.

This property is inherited from CIM_SettingsDefineCapabilities.

The possible values are:

Point (0)

Minimums (1)

Maximums (2)

Increments (3)

DMTF Reserved

4 65535

ValueRole

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_SettingsDefineCapabilities.PropertyPolicy", "CIM_SettingsDefineCapabilities.ValueRange")

The additional semantics for the interpretation of the non-null, non-key properties of the CIM_SettingData instance.

This property is inherited from CIM_SettingsDefineCapabilities.

The possible values are:

Default (0)

The property values will be used as default values when a new CIM_SettingData instance is created.

Optimal (1)

The CIM_SettingData instance represents optimal setting values.

Mean (2)

Non-null, non-key, non-enumerated, non-boolean, numeric properties of the CIM_SettingData instance represent an average point along a dimension.

Supported (3)

The non-null, non-key properties of the CIM_SettingData instance represent a set of supported property values that have not been qualified.

DMTF Reserved

Reserved.

Remarks

The values for the ValueRole and ValueRange properties are used in the following pairs:

  • Point/Default (0/0)
  • Minimums/Supported (1/3)
  • Maximums/Supported (2/3)
  • Increments/Supported (3/3).

"Point" means that each of the properties on the PartComponent object represents the platform default.

"Minimums" and "Maximums" mean that each of the properties on the PartComponent object represent the smallest and largest possible values for these properties that are supported by the platform based on your current machine configuration.

"Increments" indicates the granularity at which you can increase or decrease the settings.

Access to the Msvm_SettingsDefineCapabilities class might be restricted by UAC Filtering. For more information, see User Account Control and WMI.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
End of client support
None supported
End of server support
Windows Server 2012 R2
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

CIM_SettingsDefineCapabilities

CIM_SettingsDefineCapabilities

Msvm_SettingsDefineCapabilities (V2)

Resource Management Classes