Share via


IVMTask::PercentCompleted property

The PercentCompleted property contains the completion percentage of the task.

This property is read-only.

Syntax

HRESULT get_PercentCompleted(
  [in] long *percentCompleted
);

VB
VMTask.PercentCompleted( _
  ByVal percentCompleted _
)

Property value

The current completion percentage of the task. Values range from 0 to 100.

This property value is read-only.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The percentCompleted parameter is NULL.
DISP_E_EXCEPTION
An unexpected error occurred.

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

See also

IVMTask