Share via


ISchedulerJob::FailDependentTasks property

Retrieves or sets a value indicating whether child tasks should be marked as failed if the current task fails.

This property is read/write.

Syntax

HRESULT put_FailDependentTasks(
  [in]  VARIANT_BOOL value
);

HRESULT get_FailDependentTasks(
  [out] VARIANT_BOOL *pValue
);

Property value

Set to VARIANT_TRUE true if child tasks should be marked as failed if the current task fails; otherwise, VARIANT_FALSE.

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

This property was introduced in Windows HPC Pack 2012 and is not supported in previous versions.

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob