共用方式為


IVMVirtualMachineCollection interface

The IVMVirtualMachineCollection interface defines the collection of virtual machines within Virtual Server. An IVMVirtualMachineCollection object is returned from the IVMVirtualServer::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 IEnumVariant enumerator for the collection.
Count
Read-only
The number of virtual machines in this collection.
Item
Read-only
The IVMVirtualMachine object that corresponds to the given index in this collection.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IDispatch

IVMVirtualMachine