Exportar (0) Imprimir
Expandir todo
Este tema aún no ha recibido ninguna valoración - Valorar este tema

CDatabase::GetCursorCommitBehavior

Call this member function to determine how a CommitTrans operation affects cursors on open recordset objects.


int GetCursorCommitBehavior( ) const;

A value indicating the effect of transactions on open recordset objects. For details, see Remarks.

The following table lists the possible return values for GetCursorCommitBehavior and the corresponding effect on the open recordset.

Return value Effect on CRecordset objects

SQL_CB_CLOSE

Call CRecordset::Requery immediately following the transaction commit.

SQL_CB_DELETE

Call CRecordset::Close immediately following the transaction commit.

SQL_CB_PRESERVE

Proceed normally with CRecordset operations.

For more information about this return value, see the ODBC API function SQLGetInfo in the Platform SDK. For more information about transactions, see the article Transaction (ODBC).

¿Te ha resultado útil?
(Caracteres restantes: 1500)
Gracias por sus comentarios

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft. Reservados todos los derechos.