The mi_xa_unregister_xadatasource( ) function 3unregisters the previously registered XA data source from the transaction.
3Use the following syntax for an mi_xa_unregister_xadatasource( ) function: 3
3mi_integer mi_xa_unregister_xadatasource(mi_string *xasrc)3
For example: 3
3#include "xa.h" 3 #include "milib.h" 3 int retcode; 3 retcode = mi_xa_unregister_xadatasource("informix.Newyork")); 3 if ( retcode != MI_OK) 3 { 3 /* Error while unregistering the XA data source */ 3 } 3 /* Successfully unregistered */3
When you use the mi_xa_unregister_xadatasource( ) function, 3follow these guidelines: 3
3You can use the mi_xa_get_current_xid( ) function 3to return the pointer to the current XID structure for an XA-compliant, 3external data source.
For more information on this function, see the IBM Informix: DataBlade API Function Reference.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]