Share via


Job.Clear Method

Removes all tasks from the job.

Namespace: Microsoft.ComputeCluster
Assembly: CcpAPI (in ccpapi.dll)

Usage

Syntax

'Declaration
Public Sub Clear
public void Clear ()
public:
virtual void Clear () sealed
public final void Clear ()
public final function Clear ()

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003, Windows XP

Target Platforms

Microsoft Windows Compute Cluster Server 2003, Windows Server 2003 with Compute Cluster Pack Client Utilities, Windows XP with Compute Cluster Pack Client Utilities

See Also

Reference

Job Class
Job Members
Microsoft.ComputeCluster Namespace