Sets the current transaction time out value for this SQLServerXAResource object.
public boolean setTransactionTimeout(int seconds)
參數
seconds
An int value.
傳回值
true if the timeout was successfully set. Otherwise, false.
例外狀況
javax.transaction.xa.XAException
備註
This setTransactionTimeout method is specified by the setTransactionTimeout method in the javax.transaction.xa.XAResource interface.