对两个字符串验证和存储 DBID时 (m_strCommandText 和 m_strIndexText)。
HRESULT CRowsetBaseImpl::SetCommandText(
DBID* pTableID,
DBID* pIndexID
);
参数
pTableID
[out] 一个指向表示表. ID 的 DBID 的指针pIndexID
[out] 一个指向表示索引 ID. 的 DBID 的指针
返回值
标准 HRESULT。
备注
SetCommentText 方法由 CreateRowset, IOpenRowsetImpl静态 templatized 方法调用。
此方法通过调用 ValidateCommandID 和 GetCommandFromID 将其工作。一 upcasted 指针。
要求
Header: atldb.h