CRowsetImpl::SetCommandText

xt

HRESULT SetCommandText( DBID* pTableID**, DBID*** pIndexID );

Return Value

A standard HRESULT.

Parameters

pTableID

[in] A pointer to the DBID representing the table ID.

pIndexID

[in] A pointer to the DBID representing the index ID.

Remarks

This method is called by CreateRowset, a static templatized method of IOpenRowsetImpl. It validates and stores the DBIDs in the two strings (m_strCommandText and m_strIndexText). This method delegates its work by calling ValidateCommandID and GetCommandFromID through an upcasted pointer.

CRowsetImpl OverviewCRowsetImpl Class Members