Share via


ISchedulerJob::ProgressMessage property

Gets or sets a custom status message for the job.

This property is read/write.

Syntax

HRESULT put_ProgressMessage(
  [in]          BSTR pRetVal
);

HRESULT get_ProgressMessage(
  [out, retval] BSTR *pRetVal
);

Property value

A string that specifies the custom status message. The maximum length of the message is 80 characters.

Error codes

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

Remarks

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::Progress