Redigera

Dela via


setTransactionTimeout Method (SQLServerXAResource)

Download JDBC driver

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