| title | getXAResource Method (SQLServerXAConnection) |
|---|---|
| description | getXAResource Method (SQLServerXAConnection) |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 01/19/2017 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.topic | reference |
| apilocation | sqljdbc.jar |
| apiname | SQLServerXAConnection.getXAResource |
| apitype | Assembly |
[!INCLUDEDriver_JDBC_Download]
Retrieves a SQLServerXAResource object that the transaction manager will use to manage this SQLServerXAConnection object's participation in a distributed transaction.
public javax.transaction.xa.XAResource getXAResource()
An XAResource object.
java.sql.SQLException
This getXAResource method is specified by the getXAResource method in the javax.sql.XAConnection interface.
SQLServerXAConnection Methods
SQLServerXAConnection Members
SQLServerXAConnection Class