共用方式為


CalculatePossibleReserve method of the Msvm_ProcessorPool class

This method is used to find the actual reserve with the input parameter being the number of virtual machine processors for which the reserve is calculated. This method is necessary because the reservation of processor resources is highly dependent on the number of processors which must be scheduled in parallel.

Windows Server 2008: Before Windows Server 2008 R2, this method does nothing and always returns 0.

Syntax

uint32 CalculatePossibleReserve(
  [in] uint16 ProcessorCount
);

Parameters

ProcessorCount [in]

Type: uint16

The number of virtual machine processors for which the reserve is calculated. The maximum value for this property is the logical processor count for the host computer.

Return value

Type: uint32

The amount of CPU resources that may be reserved for a virtual system.

Remarks

Access to the Msvm_ProcessorPool 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
Namespace
Root\Virtualization
MOF
WindowsVirtualization.mof

See also

Msvm_ProcessorPool