Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.55 KB

File metadata and controls

54 lines (42 loc) · 1.55 KB
title setTransactionTimeout Method (SQLServerXAResource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.suite sql
ms.technology connectivity
ms.tgt_pltfrm
ms.topic conceptual
apiname
SQLServerXAResource.setTransactionTimeout
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 38bf4a1a-6ad3-437c-b9ed-8792ab6dde7e
caps.latest.revision 7
author MightyPen
ms.author genemi
manager craigg

setTransactionTimeout Method (SQLServerXAResource)

[!INCLUDEDriver_JDBC_Download]

Sets the current transaction time out value for this SQLServerXAResource object.

Syntax

  
public boolean setTransactionTimeout(int seconds)  

Parameters

seconds

An int value.

Return Value

true if the timeout was successfully set. Otherwise, false.

Exceptions

javax.transaction.xa.XAException

Remarks

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

See Also

SQLServerXAResource Methods
SQLServerXAResource Members
SQLServerXAResource Class