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