Compartir a través de


CCommand::Prepare

Validates and optimizes the current command.

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

Parameters

  • cExpectedRuns
    [in] The number of times you expect to execute the command.

Return Value

A standard HRESULT.

Remarks

This method wraps the OLE DB method ICommandPrepare::Prepare.

Requirements

Header: atldbcli.h

See Also

Reference

CCommand Class