共用方式為


IVMHostInfo interface

The IVMHostInfo interface retrieves information about the host machine. An IVMHostInfo object is returned from the IVMVirtualServer::HostInfo property.

Members

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

Methods

The IVMHostInfo interface has these methods.

Method Description
GetHostDriveSize Retrieves the size of a host drive, in MB.
IsHostDriveMounted Indicates whether the specified host drive is mounted.

Properties

The IVMHostInfo interface has these properties.

Property Access type Description
DVDDrives
Read-only
An array of drive letters associated with host CD-ROM or DVD-ROM devices.
FloppyDrives
Read-only
An array of drive letters associated with host floppy drives.
HostDrives
Read-only
An array of drive letters associated with host hard disk drives.
LogicalProcessorCount
Read-only
The number of logical processors in the host machine.
Memory
Read-only
The total quantity, in megabytes, of physical RAM in the host machine.
MemoryAvail
Read-only
The total quantity, in megabytes, of available RAM in the host machine.
MemoryAvailString
Read-only
The total quantity, in megabytes, of available RAM in the host machine, in the form of a string.
MemoryTotalString
Read-only
The total quantity, in megabytes, of physical RAM in the host machine, in the form of a string.
MMX
Read-only
Indicates whether the host processor supports the MMX instruction set.
NetworkAdapters
Read-only
An enumerable collection of the network interface cards that are installed on the host machine.
NetworkAddresses
Read-only
Contains an array of TCP/IP addresses in the host computer.
OperatingSystem
Read-only
The name of the operating system currently running on the host machine.
OSMajorVersion
Read-only
The major operating system release version currently running on the host machine.
OSMinorVersion
Read-only
The minor operating system release version currently running on the host machine.
OSServicePackString
Read-only
The service pack version currently installed on the host machine.
OSVersionString
Read-only
The version of the operating system currently running on the host machine.
ParallelPort
Read-only
The name of the parallel port on the host computer.
PhysicalProcessorCount
Read-only
The number of physical processors in the host machine.
ProcessorFeaturesString
Read-only
A list of features supported by the host processor.
ProcessorManufacturerString
Read-only
The manufacturer of the host processor.
ProcessorSpeed
Read-only
The speed, in megahertz, of the host processor.
ProcessorSpeedString
Read-only
The speed, in megahertz, of the host processor.
ProcessorVersionString
Read-only
The version of the host processor.
SerialPorts
Read-only
A list of serial ports on the host computer.
SSE
Read-only
Specifies whether the host processor supports the SSE instruction set.
SSE2
Read-only
Specifies whether the host processor supports the SSE2 instruction set.
ThreeDNow
Read-only
Specifies whether the host processor supports the 3DNow! instruction set.
UTCTime
Read-only
The current UTC time on the host machine.

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