共用方式為


getXAResource Method (SQLServerXAConnection)

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 Class

概念

SQLServerXAConnection Methods
SQLServerXAConnection Members