다음을 통해 공유


CRowsetImpl::ValidateCommandID

Checks to see if either or both DBIDs contain string values, and if so, copies them to its data members m_strCommandText and m_strIndexText.

HRESULT CRowsetBaseImpl::ValidateCommandID(
   DBID* pTableID,
   DBID* pIndexID 
);

Parameters

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

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

Return Value

A standard HRESULT.

Remarks

This method is called through a static upcast by CRowsetImpl to populate its data members m_strCommandText and m_strIndexText. By default, this method checks to see if either or both DBIDs contain string values, and if so, copies them to its data members. By placing a method with this signature in your CRowsetImpl-derived class, your method will be called instead of the base implementation.

Requirements

Header: atldb.h

See Also

Reference

CRowsetImpl Class

CRowsetImpl::SetCommandText

Other Resources

CRowsetImpl Members