Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.37 KB

File metadata and controls

40 lines (30 loc) · 1.37 KB
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

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