ISchedulerJob::Progress property

Gets or sets the percentage of the job that is complete.

This property is read/write.

Syntax

HRESULT put_Progress(
  [in]          long pRetVal
);

HRESULT get_Progress(
  [out, retval] long *pRetVal
);

Property value

A long integer that specifies the percentage of the job that is complete. It is a value between 0 and 100.

Error codes

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

Remarks

If your application does not set the value of this property, the HPC Job Scheduler Service calculates the progress based on the percentage of tasks that are complete for the job. After your application sets this property for a job, the HPC Job Scheduler Service does not continue to update this property, and your application must continue to update the property.

You can set the value of this property for jobs in any state.

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerJob::ProgressMessage