Share via


ITask::get_EndTime method

Retrieves the task end time.

Syntax

HRESULT get_EndTime(
  [out] DATE *pRetVal
);

Parameters

  • pRetVal [out]
    The time that the task ended.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Remarks

The end time indicates when the task finished, failed, or was canceled. The value is MaxValue if the task has not finished, failed, or been canceled. The time is reset if you requeue a failed or canceled task.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ITask

ITask::get_CreateTime

ITask::get_StartTime