virtual bool COSession::Commit(BOOL bRetaining=FALSE, DWORD nXACTTC=XACTTC_SYNC);

Return Value

        true if successful; otherwise false.

Parameters

        [in] bRetaining:

                Indicating if the commit is retaining or not.

        [in] nXACTTC:

                One of values of the enumeration XACTTC. For details, see the documentation of OLEDB. For how to use it, see the example MkTbls.

Remark

        Calls this function to commit a transaction.

COSession Class Overview & Class Members