WaitWithoutResults([out,retval] ULONGLONG* error);
Wait for a particular job to complete, without checking any of
the properties of that job.
The error resulting from the asynchronous operation that returned
the job handle.
- This function blocks until the job completes.
- The error code returned by this function is the same as the error code
returned by Job::GetError().
- The error code returned by this function is also available in the
VIX_JOB_RESULT_ERROR_CODE property of the job object.
- Do not use WaitWithoutResults() to complete a job for which you have passed an
ICallback instance. The completion order in such a situation is undefined,
and you cannot rely on the resulting property values.
VixCOM.h, since VMware Workstation 6.0.
' Power on the virtual machine in headless mode.
Set job = vm.PowerOn(VixCOM.Constants.VIX_POWEROP_NORMAL, Nothing, Nothing)
err = job.WaitWithoutResults()