The VirtualPc type exposes the following members.

Constructors

  NameDescription
Public methodVirtualPc

Properties

  NameDescription
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
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 propertyName
Sets the name of the VirtualPc
Public propertyResult
Gets the Result
Public propertyTaskAction
Sets the TaskAction.
(Overrides BaseTask..::..TaskAction.)
Public propertyText
Sets the Text collection
Public propertyVirtualMachineCount
Gets the number of virtual machines found
Public propertyVirtualMachines
Gets the collection of Virtual Machines. See the sample for available metadata
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