Share via


CEnumerator Class

 

The latest version of this topic can be found at CEnumerator Class.

Uses an OLE DB enumerator object, which exposes the ISourcesRowset interface to return a rowset describing all data sources and enumerators.

Syntax

class CEnumerator :   
   public CAccessorRowset< CAccessor <CEnumeratorAccessor >>  

Members

Methods

Find Searches through available providers (data sources) looking for one with the specified name.
GetMoniker Retrieves the IMoniker interface for the current record.
Open Opens the enumerator.

Remarks

You can retrieve the ISourcesRowset data indirectly from this class.

Requirements

**Header:**atldbcli.h

See Also

DBViewer
OLE DB Consumer Templates
OLE DB Consumer Templates Reference