Share via


ISchedulerTask::ExitCode property

Retrieves the exit code that the task set.

This property is read-only.

Syntax

HRESULT get_ExitCode(
  [out] long *pCode
);

Property value

The exit code.

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.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerTask