Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the date and time that the task ended.
This property is read-only.
Syntax
HRESULT get_EndTime(
  [out] DATE *pTime
);
Property value
The time the task ended. The value is in Coordinated Universal Time.
Error codes
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ErrorMessage task property.
Remarks
The end time indicates when the task finished, failed, or was canceled. The value is zero if the task has not finished, failed, or been canceled. The time is reset if you queue a failed or canceled task again.
Requirements
| Product | HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities | 
| Type library | Microsoft.Hpc.Scheduler.tlb |