AREndClientManagedTransaction


Important

You can continue to use C APIs to customize your application, but C APIs are not enhanced to support new capabilities provided by Java APIs and REST APIs.

Description

Enables you to end the client-managed database transaction. Depending on the transaction option used, the transaction is either rolled back or committed.


Privileges

All users.

Synopsis

#include "ar.h"
#include "arextern.h"
int AREndClientManagedTransaction(
ARControlStruct*control,
int*transactionOption,
ARStatusList*status)

Input arguments

control

The control record for the operation, which contains information about the user requesting the operation and the server on which the operation must be performed.

transactionOption

The transaction option, which allows you to rollback or commit the transaction. The possible transaction option values are AR_ROLLBACK_CLIENT_MANAGED_TRANSACTION to roll back the transaction and AR_COMMIT_CLIENT_MANAGED_TRANSACTION to commit the transaction.

Return values

status

A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error-checking.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*