Redigera

Dela via


isSameRM Method (SQLServerXAResource)

Download JDBC driver

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.

Syntax

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

Parameters

xares

An XAResource object.

Return Value

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

Exceptions

javax.transaction.xa.XAException

Remarks

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

See Also

SQLServerXAResource Methods
SQLServerXAResource Members
SQLServerXAResource Class