Share via


ISchedulerTask::ServiceConclude method

Directs the HPC Job Scheduler Service to stop starting subtasks for a service task.

Syntax

HRESULT ServiceConclude(
  [in] VARIANT_BOOL cancelSubTasks
);

Parameters

  • cancelSubTasks [in]
    VARIANT_BOOL that specifies whether the HPC Job Scheduler Service should cancel subtasks of the service task that are already running.

    VARIANT_TRUE specifies that the HPC Job Scheduler Service should cancel subtasks of the service task that are already running. VARIANT_FALSE specifies that the HPC Job Scheduler Service should not cancel subtasks of the service task that are already running.

Return value

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

Requirements

Product

HPC Pack 2008 R2 Client Utilities

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerTask

ISchedulerTask::IsServiceConcluded

ISchedulerTask::Type