Share via


ICacheElements::_NewEnum Method

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

The ICacheElements::_NewEnum method enumerates through the CacheElement Class objects in the collection, in Configuration Manager.

[IDL]
HRESULT _NewEnum(
      IUnknown** pVal
);

Parameters

  • pVal
    Data type: IUnknown

    Qualifiers: [out, retval]

    Pointer to the IUnknown interface for a collection of CacheElement Class objects.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

  • S_OK
    The method succeeded.

Remarks

This method is used in a For Each operation, such as the For Each operator in Visual Basic.

Requirements

UIResource.dll.

Runtime Requirements

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

CacheElements Class