Partager via


CEnumerator::Open

 

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::Open.

Binds the moniker for the enumerator, if one is specified, then retrieves the rowset for the enumerator by calling ISourcesRowset::GetSourcesRowset.

Syntax

  
      HRESULT Open(   
   LPMONIKER pMoniker    
) throw( );  
HRESULT Open(   
   const CLSID* pClsid = & CLSID_OLEDB_ENUMERATOR    
) throw( );  
HRESULT Open(   
   const CEnumerator& enumerator    
) throw( );  

Parameters

pMoniker
[in] A pointer to a moniker for an enumerator.

pClsid
[in] A pointer to the CLSID of an enumerator.

enumerator
[in] A reference to an enumerator.

Return Value

A standard HRESULT.

Requirements

Header: atldbcli.h

See Also

CEnumerator Class