Sets the dependent tasks.
HRESULT put_Depend( [in] BSTR Val );
- Val [in]
A comma-separated list of task names.
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Typically, you use dependencies to break a large task into smaller subtasks. For example, if task A needs to finish before task B, which needs to finish before task C, then task B depends on A and task C depends on B. Task B will not run until A finishes, fails, or is canceled.
The method checks for circular dependencies.
The dependency is ignored if the task is specified in a command.
Compute Cluster Pack Client Utilities