ARDBCCommitTransaction
Description
This optional function commits the changes of one or more previous ARDBC calls to the external data source. The client typically calls this function after it performs one or more actions that read or modify the external data source. After the client calls this function, the AR System server begins the next transaction.
Important
If you do not define this function and the plug-in server receives a commit transaction request, the call proceeds without error.
Synopsis
#include "ardbc.h"
int ARDBCCommitTransaction(
void *object,
ARInternalId transId,
ARStatusList *status)
Input arguments
object
Pointer to the plug-in instance that the call to ARPluginCreateInstance
returned.
transId
Transaction identification number (transaction ID) that the plug-in server designates for each transaction. The transaction ID is unique to the thread that the AR System server uses to access the ARDBC plug-in. There is only one open transaction per server thread.
Return values
status
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.
Comments
Log in or register to comment.