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

Msvm_ResourcePoolComponent class

· 52CE 我爱测

Represents a resource pool element of the Microsoft Windows Hyper-V platform.

Represents a resource pool element of the Microsoft Windows Hyper-V platform.

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

Syntax

class Msvm_ResourcePoolComponent : Msvm_VirtualizationComponent
{
  string  CLSID;
  uint32  Context = 1;
  boolean Enabled = True;
  string  Name;
  string  AllocationCapabilitiesClassName;
  string  ResourcePoolClassName;
  string  ResourcePoolSettingDataClassName = "Msvm_ResourcePoolSettingData";
  string  PhysicalDeviceClassName;
  string  WmiFactoryCLSID;
  uint8   MaxParentPools = 0;
};

Members

The Msvm_ResourcePoolComponent class has these types of members:

Properties

The Msvm_ResourcePoolComponent class has these properties.

AllocationCapabilitiesClassName

Data type: string

Access type: Read-only

The name of the class derived from CIM_AllocationCapabilities that describes the allocation capabilities of this resource pool.

CLSID

Data type: string

Access type: Read-only

A GUID that represents the class identifier of the service's COM object. This property is inherited from Msvm_VirtualizationComponent.

Context

Data type: uint32

Access type: Read-only

The context in which the newly created object will run. This value is passed in the dwClsContext parameter to CoCreateInstance. This property is inherited from Msvm_VirtualizationComponent, and it is always set to 1.

Enabled

Data type: boolean

Access type: Read-only

True if this instance is enabled and can be used to complete client requests; otherwise, False. This property is inherited from Msvm_VirtualizationComponent, and it is always set to True.

MaxParentPools

Data type: uint8

Access type: Read-only

The maximum number of parent resource pools that a child pool supports.

Name

Data type: string

Access type: Read-only

Qualifiers: Key

A language-neutral string that uniquely identifies the element. The following format is suggested to prevent naming conflicts: "vendor|component|version". For example, this name represents version 1.0 of the Microsoft Emulated Network Port Component: "Microsoft|EmulatedNetworkPortComponent|V1.0". This property is inherited from Msvm_VirtualizationComponent.

PhysicalDeviceClassName

Data type: string

Access type: Read-only

The name of the class derived from CIM_LogicalDevice that implements the physical device from which this pool allocates resources. This property can be Null if the virtual device class allocated from this pool is the same as the physical device class.

ResourcePoolClassName

Data type: string

Access type: Read-only

The name of the class derived from CIM_ResourcePool that implements the resource pool.

ResourcePoolSettingDataClassName

Data type: string

Access type: Read-only

The name of the class derived from CIM_SettingData that describes the non-allocation related settings of the resource pool.

WmiFactoryCLSID

Data type: string

Access type: Read-only

A GUID that represents the class identifier of the component's WMI object factory.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
End of client support Windows 8.1
End of server support Windows Server 2012 R2
Namespace Root\Virtualization\V2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

See also

Msvm_VirtualizationComponent

Msvm_VirtualizationComponent

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)

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

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