Share via


IRemoteCommand::Cancel method

Cancels the command.

Syntax

HRESULT Cancel();

Parameters

This method has no parameters.

Remarks

You can cancel the command at any time before the command finishes. The TTLCompletedJobs cluster parameter (for details, see the Remarks section of IScheduler::SetClusterParameter) determines when the command is removed from the scheduler after it has been canceled.

Requirements

Product

HPC Pack 2008 R2 Client Utilities, HPC Pack 2008 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IRemoteCommand