VirtualPC Members

TFS Build Extensions

Collapse imageExpand ImageCopy imageCopyHover image

The VirtualPC type exposes the following members.

Constructors

  NameDescription
Public methodVirtualPC

Properties

  NameDescription
Public propertyAction
The task to perform.
Public propertyBusNumber
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.
Public propertyDeviceNumber
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.
Public propertyFileName
Sets the FileName used for adding disks and taking screen shots
Public propertyMaxCpuThreshold
Sets the MaxCpuThreshold in seconds. This is the period for which the virtual machine must be below the MaxCpuUsage. Default is 10.
Public propertyMaxCpuUsage
Sets the MaxCpuUsage in %. Default is 10
Public propertyResult
The result of Is... status actions
Public propertyScript
A list of key depressions and mouse clicks
Public propertySuccess
The command executed without error, does not mean VM completed the actions e.g. the state may not have actually changed
Public propertyVirtualMachineCount
Gets the number of virtual machines found
Public propertyVirtualMachines
Gets the collection of Virtual Machines. See the sample for available metadata
Public propertyVMName
The name of the VM to perform operations on.
Public propertyWaitForCompletion
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.

See Also