ISchedulerTask::IsRerunnable property
Determines whether the task can run again after a failure.
This property is read/write.
Syntax
HRESULT put_IsRerunnable(
[in] VARIANT_BOOL rerun
);
HRESULT get_IsRerunnable(
[out] VARIANT_BOOL *pRerun
);
Property value
Set to VARIANT_TRUE if the task can run again after a failure; otherwise, VARIANT_FALSE. The default is VARIANT_TRUE.
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
If this value is VARIANT_FALSE, you cannot call the ISchedulerJob::RequeueTask method to run the task again.
Requirements
Product |
HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities |
Type library |
Microsoft.Hpc.Scheduler.tlb |