TFS Build Extensions Help (v1.0.0.6) |
VirtualPC Members |
VirtualPC Class Constructors Properties See Also Send Feedback |
The VirtualPC type exposes the following members.
Constructors
Name | Description | |
---|---|---|
VirtualPC |
Properties
Name | Description | |
---|---|---|
Action |
The task to perform.
| |
BusNumber |
Sets the bus to which the drive will be attached. 0 = The drive will be attached to the first bus. 1 = The drive will be attached to the second bus.
| |
DeviceNumber |
Sets the device to which the drive will be attached. 0 = The drive will be attached to the first device on the bus. 1 = The drive will be attached to the second device on the bus.
| |
FileName |
Sets the FileName used for adding disks and taking screen shots
| |
MaxCpuThreshold |
Sets the MaxCpuThreshold in seconds. This is the period for which the virtual machine must be below the MaxCpuUsage. Default is 10.
| |
MaxCpuUsage |
Sets the MaxCpuUsage in %. Default is 10
| |
Result |
The result of Is... status actions
| |
Script |
A list of key depressions and mouse clicks
| |
Success |
The command executed without error, does not mean VM completed the actions e.g. the state may not have actually changed
| |
VirtualMachineCount |
Gets the number of virtual machines found
| |
VirtualMachines |
Gets the collection of Virtual Machines. See the sample for available metadata
| |
VMName |
The name of the VM to perform operations on.
| |
WaitForCompletion |
The time, in milliseconds, that this method will wait for task completion before returning control to the caller. A value of -1 specifies that method will wait until the task completes without timing out. Other valid timeout values range from 0 to 4,000,000 milliseconds.
|