Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AllowableMaximumSystemCapacity property contains the currently allowable maximum percentage of system capacity that can be assigned to this virtual machine.
This property is read-only.
Syntax
HRESULT get_AllowableMaximumSystemCapacity(
[out] VARIANT *allowableMaximumSystemCapacity
);
VB |
---|
|
Property value
The currently allowable maximum percentage of system capacity that can be assigned to this virtual machine. This number is returned as a Double and may be less than 100 depending on the number of host processors.
This property value is read-only.
Error codes
Name | Meaning |
---|---|
|
The operation was successful. |
|
allowableMaximumSystemCapacity is NULL. |
|
An unexpected error occurred. |
Examples
The following example prints the AllowableMaximumSystemCapacity property information for each virtual machine.
Set objVS = CreateObject("VirtualServer.Application")
set colVMs = objVS.VirtualMachines
For Each objVM in colVMS
Set colAccountants = objVM.Accountant
Wscript.Echo "Virtual machine: " & objVM.Name
Wscript.Echo "Allowable maximum system capacity: " & colAccountants.AllowableMaximumSystemCapacity
Wscript.Echo
Next
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|