Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates and stores the DBIDs in the two strings (m_strCommandText and m_strIndexText).
HRESULT CRowsetBaseImpl::SetCommandText(
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
The SetCommentText method is called by CreateRowset, a static templatized method of IOpenRowsetImpl.
This method delegates its work by calling ValidateCommandID and GetCommandFromID through an upcasted pointer.
Requirements
Header: atldb.h