Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.48 KB

File metadata and controls

45 lines (35 loc) · 1.48 KB
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
SQLServerXAConnection.getXAResource
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid e1d2828f-fd20-44b0-b796-dc70f77c5b03
author David-Engel
ms.author v-daenge

getXAResource Method (SQLServerXAConnection)

[!INCLUDEDriver_JDBC_Download]

Retrieves a SQLServerXAResource object that the transaction manager will use to manage this SQLServerXAConnection object's participation in a distributed transaction.

Syntax

  
public javax.transaction.xa.XAResource getXAResource()  

Return Value

An XAResource object.

Exceptions

java.sql.SQLException

Remarks

This getXAResource method is specified by the getXAResource method in the javax.sql.XAConnection interface.

See Also

SQLServerXAConnection Methods
SQLServerXAConnection Members
SQLServerXAConnection Class