CEnumerator::Open

HRESULT Open( LPMONIKER* pMoniker );

HRESULT Open( const CLSID* pClsid = &CLSID_OLEDB_ENUMERATOR );

HRESULT Open( const CEnumerator& enumerator );

Return Value

A standard HRESULT.

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.

Remarks

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

CEnumerator OverviewClass Members