setTransactionTimeout Method (SQLServerXAResource)

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

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

Reference

SQLServerXAResource Class

Concepts

SQLServerXAResource Methods
SQLServerXAResource Members