SE_connection_rollback_transaction

Performs a rollback of a transaction.

Usage syntax

LONG SE_connection_rollback_transaction (SE_CONNECTION connection);

Parameters
connection The connection handle
Description

The SE_connection_rollback_transaction function aborts all modifications since the last SE_connection_start_transaction call, or any intermediate commits on a transaction resulting from a call to SE_connection_commit_transaction, or an automatic commit (See the AUTOCOMMIT parameter in the giomgr.defs file).

Returns

SE_SUCCESS
SE_CONNECTION_LOCKED

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_NET_FAILURE

SE_SDE_NOT_STARTED

Notes

∙  Functions that create, delete, or truncate, such as SE_layer_create, operate independently of ArcSDE transactions. The SE_connection_rollback_transaction function cannot roll back such operations.