ITask::put_IsRerunnable method

Sets whether the task can be rerun after a failure.

Syntax

HRESULT put_IsRerunnable(
  [in] VARIANT_BOOL Val
);

Parameters

  • Val [in]
    Set the value to VARIANT_TRUE if the task can be rerun after a failure; otherwise, VARIANT_FALSE. The default is VARIANT_TRUE.

Return value

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

Remarks

If this value is VARIANT_FALSE, you cannot call the ICluster::RequeueTask method to rerun the task.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

ITask

ITask::get_IsRerunnable