IVMVirtualMachine::Startup method
The Startup method starts up the virtual machine.
Syntax
HRESULT Startup(
[out] IVMTask **startupTask
);
Parameters
-
startupTask [out]
-
A task that is used to track the completion progress of the virtual machine's startup sequence.
Return value
This method supports standard return values, as well as the following. For information on Virtual Server specific return values not listed below, see HRESULT Codes Specific to the Virtual Server.
Return code | Description |
---|---|
|
The operation was successful. |
|
The startupTask parameter is NULL. |
|
The caller must have execute access permissions to start this virtual machine. |
|
Not enough host resources. |
|
Too many active virtual machines. |
|
The virtual machine is already running. |
|
An unexpected error has occurred. |
Remarks
If the virtual machine is saved, it will be restored from the saved state.
Requirements
Product |
Microsoft Virtual Server 2005 onWindows Server 2003 |
Download |
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003 |
Header |
|