void CBatchParam<T>::EnableBatch(bool bBatchable=true);

Return Value

        true if successful; otherwise false.

Parameter

        [in] bBatchable:

              True or false.

Remark

        Enables a CBatchParam<T> object to send multiple sets of parameter data into a data source if an OLEDB provider is capable. You may have to disable batch mode because of limitations of a provider under the following two cases:

  1. A parameterized statement or stored procedure with involvement of BLOBs,
  2. A stored procedure with either DBPARAMIO_INPUT|DBPARAMIO_OUTPUT or DBPARAMIO_OUTPUT parameter type.

CBatchParam<T> Class Overview & Class Members