ISchedulerCollection::Item property

Retrieves the specified item from the collection.

This property is read-only.

Syntax

HRESULT get_Item(
  [in]  long index,
  [out] VARIANT *pItem
);

Property value

The specified item from the collection. The item is returned as a VARIANT. The type of the variant depends on the contents of the collection (see the method or property that returned the collection for the type).

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 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

ISchedulerCollection

ISchedulerCollection.Count

ISchedulerCollection::GetEnumerator