ISchedulerNode::JobType property

Retrieves the types of jobs that this node is configured to run.

This property is read-only.

Syntax

HRESULT get_JobType(
  [out] JobType *pType
);

Property value

The types of jobs that this node can run. For possible values, see the JobType enumeration.

Error codes

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

Remarks

A node can run more than one type of job. Treat the property value as an integer and the JobType enumeration values as flags.

Examples

For an example, see Getting a List of Nodes in the Cluster.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerNode