Skip to content

Latest commit

 

History

History
66 lines (58 loc) · 1.66 KB

File metadata and controls

66 lines (58 loc) · 1.66 KB
title CEnumerator Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
CEnumerator
dev_langs
C++
helpviewer_keywords
CEnumerator class
ms.assetid 25805f1b-26e3-402f-af83-1b5fe5ddebf7
caps.latest.revision 14
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

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