CEnumerator::Open

Associa il moniker per l'enumeratore, se si è specificato, quindi recupera il rowset per l'enumeratore chiamando ISourcesRowset::GetSourcesRowset.

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

Parametri

  • pMoniker
    [in] puntatore A un moniker per un enumeratore.

  • pClsid
    [in] puntatore A CLSID di un enumeratore.

  • enumerator
    [in] riferimento A un enumeratore.

Valore restituito

HRESULTstandard.

Requisiti

Header: atldbcli.h

Vedere anche

Riferimenti

Classe CEnumerator