Share via


ISchedulerJob::SingleNode property

Retrieves or sets a value that indicates whether all resources such as cores or sockets should be allocated on one node.

This property is read/write.

Syntax

HRESULT put_SingleNode(
  [in]  VARIANT_BOOL value
);

HRESULT get_SingleNode(
  [out] VARIANT_BOOL *pValue
);

Property value

VARIANT_TRUE if all resources should be allocated on one node; otherwise, VARIANT_FALSE. The default is VARIANT_FALSE.

Error codes

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code. To get a description of the error, access the ErrorMessage task property.

Requirements

Product

This property was introduced in Windows HPC Pack 2012 and is not supported in previous versions.

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerJob

ISchedulerTask