Share via


CEnumerator Class

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

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

Concepts

DBViewer

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference