IScheduler::OpenNodeByName method

Retrieves a node object using the specified node name.

Syntax

HRESULT OpenNodeByName(
  [in]  BSTR           nodeName,
  [out] ISchedulerNode **node
);

Parameters

  • nodeName [in]
    The name of the node to open.

  • node [out]
    An ISchedulerNode interface that you can use to retrieve information about the node.

Return value

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

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::GetNodeIdList

IScheduler::GetNodeList

IScheduler::OpenNode