IJob::Clear method

Removes all tasks from the job.

Syntax

HRESULT Clear();

Parameters

This method has no parameters.

Return value

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

Remarks

Use this method to remove tasks from a job that has not been added to the cluster. After the job is added to the cluster, you cannot remove tasks from the job.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IJob