Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.33 KB

File metadata and controls

45 lines (33 loc) · 1.33 KB
title isSameRM Method (SQLServerXAResource)
description isSameRM Method (SQLServerXAResource)
author David-Engel
ms.author davidengel
ms.date 01/19/2017
ms.service sql
ms.subservice connectivity
ms.topic reference
apilocation sqljdbc.jar
apiname SQLServerXAResource.isSameRM
apitype Assembly

isSameRM Method (SQLServerXAResource)

[!INCLUDEDriver_JDBC_Download]

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