IVMVirtualServer::AvailableSystemCapacity property
The AvailableSystemCapacity property contains the percentage of currently available system capacity, based on the number of virtual machines currently running and their scheduling parameters.
This property is read-only.
Syntax
HRESULT get_AvailableSystemCapacity(
[out] VARIANT *availableCapacity
);
VB |
---|
|
Property value
The percentage of currently available system capacity, based on the number of virtual machines currently running and their scheduling parameters. The number is returned as a Double value.
This property value is read-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
availableCapacity is NULL. |
|
An unexpected error occurred. |
Remarks
In order to start a new virtual machine, its IVMAccountant::ReservedSystemCapacity property cannot exceed this value.
Examples
The following example displays the AvailableSystemCapacity property value of the VMVirtualServer object.
Set objVS = CreateObject("VirtualServer.Application")
Wscript.Echo "Name: " & objVS.Name
Wscript.Echo "Available system capacity: " & objVS.AvailableSystemCapacity
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|