Share via


IScheduler::GetNodesInNodeGroup method

Retrieves the list of nodes in the specified node group.

Syntax

HRESULT GetNodesInNodeGroup(
  [in]  BSTR              pGroupName,
  [out] IStringCollection **pNodeNames
);

Parameters

  • pGroupName [in]
    A node group name.

  • pNodeNames [out]
    An IStringCollection interface that contains the collection of node names in the group.

Return value

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

Remarks

To retrieve the available node group names, call the IScheduler::GetNodeGroupList method.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::GetNodeGroupList

ISchedulerJob.NodeGroups

ISchedulerNode.NodeGroups