Share via


IVMGuestOS2 interface

The IVMGuestOS2 interface extends the IVMGuestOS interface, adding a method to retrieve a parameter set in the guest operating system and a property containing the name of the guest operating system. The IVMGuestOS2 for a virtual machine can be retrieved using the IVMVirtualMachine::GuestOS property.

Members

The IVMGuestOS2 interface inherits from IDispatch and IVMGuestOS. IVMGuestOS2 also has these types of members:

Methods

The IVMGuestOS2 interface has these methods.

Method Description
ExecuteCommand Executes the specified file in the guest operating system.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
GetParameter Retrieves a named parameter within the guest operating system running in the virtual machine.
(Inherited from IVMGuestOS2VMGuestOS2)
InstallAdditions Locates and installs the latest Additions into the guest operating system.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
SetParameter Sets a configuration parameter inside the guest operating system.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
Shutdown Tells the guest operating system to shut down.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)

Properties

The IVMGuestOS2 interface has these properties.

Property Access type Description
AdditionsVersion
Read-only
The version of the Additions installed in the guest operating system.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
CanShutdown
Read-only
Indicates whether the guest operating system can be cleanly shut down.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
ComputerName
Read-only
The computer name of the guest operating system running in the virtual machine.
(Inherited from IVMGuestOS2VMGuestOS2)
HeartbeatPercentage
Read-only
The percentage of expected heartbeats received over the past minute.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
IsHeartbeating
Read-only
Indicates whether the guest operating system appears to be alive.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
IsHostTimeSyncEnabled
Read/write
Indicates whether the Additions in this virtual machine should synchronize the guest's clock with the host's clock.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)
OSName
Read-only
The name of the guest operating system running in the virtual machine.
(Inherited from IVMGuestOSVMGuestOSIVMGuestOS2VMGuestOS2)

Requirements

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

See also

IDispatch

Virtual Server Interfaces

IVMGuestOS

IVMGuestOS2 Methods

IVMGuestOS2 Properties