IClusterEnumerable::GetEnumerator method

Retrieves an enumerator that you use to enumerate the items of the collection.

Syntax

HRESULT GetEnumerator(
  [out] IEnumVARIANT **pRetVal
);

Parameters

  • pRetVal [out]
    An IEnumVARIANT interface that you use to enumerate the items of the collection.

Return value

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

Examples

For an example that uses this method, see Getting the List of Nodes in the Cluster.

Requirements

Product

Compute Cluster Pack Client Utilities

Type library

Ccpapi.tlb

See also

IClusterEnumerable