共用方式為


isSameRM Method (SQLServerXAResource)

Determines if the resource manager instance that is represented by the target object is the same as the resource manager instance that is represented by the given XAResource object.

public boolean isSameRM(javax.transaction.xa.XAResource xares)

參數

xares

An XAResource object.

傳回值

true if the instances are the same. Otherwise, false.

例外狀況

javax.transaction.xa.XAException

備註

This commit method is specified by the commit method in the javax.transaction.xa.XAResource interface.

另請參閱

參考

SQLServerXAResource Class

概念

SQLServerXAResource Methods
SQLServerXAResource Members