Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.41 KB

File metadata and controls

41 lines (31 loc) · 1.41 KB
title getXAResource Method (SQLServerXAConnection)
description getXAResource Method (SQLServerXAConnection)
author dlevy-msft-sql
ms.author dlevy
ms.reviewer davidengel, machavan, sunilbs
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerXAConnection.getXAResource
apitype Assembly

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