CEnumerator Class
Visual Studio 2015
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
| 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. |
You can retrieve the ISourcesRowset data indirectly from this class.
Header:atldbcli.h
DBViewer
OLE DB Consumer Templates
OLE DB Consumer Templates Reference
Show: