共用方式為


CCommand::Prepare

驗證並最佳化目前的命令。

HRESULT CCommandBase::Prepare(
   ULONG cExpectedRuns = 0 
) throw( );

參數

  • cExpectedRuns
    [in]您希望執行命令的次數。

傳回值

一種標準HRESULT

備註

這個方法會包裝的 OLE DB 方法 ICommandPrepare::Prepare

需求

標頭: atldbcli.h

請參閱

參考

CCommand 類別