IScheduler::GetNodeGroupList method

Retrieves a list of node group names defined in the cluster.

Syntax

HRESULT GetNodeGroupList(
  [out] IStringCollection **pGroupNames
);

Parameters

  • pGroupNames [out]
    An IStringCollection interface that contains a collection of node group names.

Return value

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

Remarks

If you use the enumerator to enumerate each item in the collection, the item is a VARIANT of type VT_BSTR. Access the bstrVal member for the group name.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

IScheduler

IScheduler::GetNodesInNodeGroup

ISchedulerJob.NodeGroups

ISchedulerNode.NodeGroups