Determining Backing Options

Use the QueryConfigOption method to determine which backing options are available on the host on which you will create the virtual machine. The method returns a VirtualMachineConfigOption data object. The virtual machine configuration data includes a a list of virtual device options and a list of backing options. The following pseudocode shows the path to the backing options.

VirtualMachineConfigOption.hardwareOptions.VirtualDeviceOption[].backingOption[]

The virtual device option array must include the VirtualSerialPortOption data object. For network backing, the array of serial port backing options must include the VirtualDeviceURIBackingOption data object. The VirtualDeviceURIBackingOption.type property specifies the name of the backing object you should create when you configure network backing.