Share via


getXAResource Method (SQLServerXAConnection)

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

Reference

SQLServerXAConnection Class

Concepts

SQLServerXAConnection Methods

SQLServerXAConnection Members