Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.62 KB

File metadata and controls

58 lines (46 loc) · 1.62 KB
title setTransactionTimeout Method (SQLServerXAResource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
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 jhubbard
ms.workload Inactive

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