Home | Previous Page | Next Page   Database Access > Working with XA-Compliant External Data Sources > Registering and Unregistering XA-Compliant Data Sources > 3 3 3

Using mi_xa_unregister_xadatasource( )

3

The mi_xa_unregister_xadatasource( ) function 3unregisters the previously registered XA data source from the transaction.

3

Use the following syntax for an mi_xa_unregister_xadatasource( ) function: 3

3
mi_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

3 3

For more information on this function, see the IBM Informix: DataBlade API Function Reference.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]