Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.48 KB

File metadata and controls

50 lines (38 loc) · 1.48 KB
title setTransactionTimeout Method (SQLServerXAResource) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql
ms.prod_service connectivity
ms.reviewer
ms.technology connectivity
ms.topic conceptual
apiname
SQLServerXAResource.setTransactionTimeout
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 38bf4a1a-6ad3-437c-b9ed-8792ab6dde7e
author David-Engel
ms.author v-daenge

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