CEnumerator Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

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.

class CEnumerator :   
   public CAccessorRowset< CAccessor <CEnumeratorAccessor >>  

Methods

FindSearches through available providers (data sources) looking for one with the specified name.
GetMonikerRetrieves the IMoniker interface for the current record.
OpenOpens the enumerator.

You can retrieve the ISourcesRowset data indirectly from this class.

Header:atldbcli.h

DBViewer
OLE DB Consumer Templates
OLE DB Consumer Templates Reference

Show: