IVMVirtualMachineCollection interface

[Windows Virtual PC is no longer available for use as of Windows 8. Instead, use the Hyper-V WMI provider (V2).]

Defines the collection of virtual machines within Windows Virtual PC. To obtain an IVMVirtualMachineCollection object, use the IVMVirtualPC::VirtualMachines property.

Members

The IVMVirtualMachineCollection interface inherits from the IDispatch interface. IVMVirtualMachineCollection also has these types of members:

Properties

The IVMVirtualMachineCollection interface has these properties.

Property Access type Description
_NewEnum
Read-only
An enumerator for the collection.
Count
Read-only
The number of virtual machines in this collection.
Item
Read-only
The virtual machine object that corresponds to the specified index.

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
None supported
End of client support
Windows 7
Product
Windows Virtual PC
Header
VPCCOMInterfaces.h
IID
IID_IVMVirtualMachineCollection is defined as 59f31786-2a3d-4fbf-9896-d85338ca0da1

See also

IVMVirtualMachine

IVMVirtualPC::VirtualMachines