Share via


ISchedulerTask::Type property

Gets or sets a task type that defines how to run the command for the task.

This property is read/write.

Syntax

HRESULT put_Type(
  [in]          TaskType pRetVal
);

HRESULT get_Type(
  [out, retval] TaskType *pRetVal
);

Property value

The task type that defines how to run the command for the task. For possible values, see the TaskType enumeration. The default value is TaskType_Basic.

Error codes

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

TaskType