| title | getXAResource Method (SQLServerXAConnection) | Microsoft Docs | |
|---|---|---|
| ms.custom | ||
| ms.date | 01/19/2017 | |
| ms.prod | sql | |
| ms.prod_service | connectivity | |
| ms.reviewer | ||
| ms.technology | connectivity | |
| ms.topic | conceptual | |
| apiname |
|
|
| apilocation |
|
|
| apitype | Assembly | |
| ms.assetid | e1d2828f-fd20-44b0-b796-dc70f77c5b03 | |
| author | David-Engel | |
| ms.author | v-daenge |
[!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