This topic has not yet been rated - Rate this topic

ISchedulerCollection::GetEnumerator method

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

Syntax


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

Parameters

pEnum [out]

An IEnumVARIANT interface that you use to enumerate the items in the collection. The items of the enumeration are VARIANTs. The type of the variant depends on the contents of the collection (see the method or property that returned the collection for the type).

Return value

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

Examples

For an example, see Enumerating Lists of Objects.

Requirements

Product

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

Type library

Microsoft.Hpc.Scheduler.tlb

See also

ISchedulerCollection
ISchedulerCollection.Item

 

 

Send comments about this topic to Microsoft

Build date: 5/22/2013

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.