ISchedulerNode::NodeGroups property

Retrieves the node groups to which this node belongs.

This property is read-only.

Syntax

HRESULT get_NodeGroups(
  [out] IStringCollection **pNodeGroups
);

Property value

An IStringCollection interface that contains a collection of node group names.

Error codes

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

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

IScheduler::GetNodeGroupList

IScheduler::GetNodesInNodeGroup