IJob::get_EndTime method

Retrieves the job end time.

Syntax

HRESULT get_EndTime(
  [out] DATE *pRetVal
);

Parameters

  • pRetVal [out]
    The job end time.

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 job finished, failed, or was canceled. The value is MaxValue if the job has not finished, failed, or been canceled. The time is reset if you requeue a failed or canceled job.

Examples

For an example that shows how to print a date, see Listing Jobs.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IJob

IJob::get_CreateTime

IJob::get_StartTime