SE_connection_start_transaction |
Starts a transaction on a connection.
LONG SE_connection_start_transaction (SE_CONNECTION connection);
connection | The connection handle |
This function begins a transaction on the specified connection. The transaction is terminated by SE_connection_commit_transaction and SE_connection_rollback_transaction.
You can establish an autocommit threshold for the connection with either the SE_connection_set_transaction_autocommit function or with the AUTOCOMMIT parameter in the server_config (or sde_server_config) table. The autocommit threshold establishes how many database write operations are allowed before the transaction is automatically committed.
SE_SUCCESS
SE_CONNECTION_LOCKED
SE_DB_IO_ERROR
SE_INVALID_PARAM_VALUE
SE_INVALID_POINTER
SE_NET_FAILURE
SE_SDE_NOT_STARTED
SE_TRANS_IN_PROGRESS