Share via


IVMTask2::Error property

The error recorded for this task.

This property is read-only.

Syntax

HRESULT get_Error(
  [out] long *outError
);

VB
VMTask2.Error( _
  ByRef outError _
)

Property value

The error recorded for this task.

Error codes

For information on other return values specific to Virtual Server, see HRESULT Codes Specific to the Virtual Server.

Name Meaning
S_OK
The operation was successful.
E_POINTER
The outError parameter is NULL.
VM_E_VM_UNKNOWN
The virtual machine could not be found.
VM_E_ADDITIONS_NOT_AVAIL
Additions are not installed in this virtual machine, or the virtual machine has never been started.
DISP_E_EXCEPTION
An unexpected error has occurred.

Requirements

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

See also

IVMTask2

VMTask2