Share via


VMShutdownAction enumeration

The VMShutdownAction enumeration specifies how to shut down a virtual machine.

Syntax

typedef enum  { 
  vmShutdownAction_Save      = 0,
  vmShutdownAction_TurnOff   = 1,
  vmShutdownAction_Shutdown  = 2
} VMShutdownAction;

Constants

vmShutdownAction_Save

Save the virtual machine state.

vmShutdownAction_TurnOff

Turn off the virtual machine without undoing the drives.

vmShutdownAction_Shutdown

Shut down the guest operating system on the virtual machine without undoing the drives. This action requires the Additions feature.

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