CRowsetImpl::SetCommandText

对两个字符串验证和存储 DBID时 (m_strCommandTextm_strIndexText)。

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

参数

  • pTableID
    [out] 一个指向表示表. ID 的 DBID 的指针

  • pIndexID
    [out] 一个指向表示索引 ID. 的 DBID 的指针

返回值

标准 HRESULT

备注

SetCommentText 方法由 CreateRowsetIOpenRowsetImpl静态 templatized 方法调用。

此方法通过调用 ValidateCommandIDGetCommandFromID 将其工作。一 upcasted 指针。

要求

Header: atldb.h

请参见

参考

CRowsetImpl 类