共用方式為


commit Method (SQLServerXAResource)

Commits the global transaction that is specified by the given Xid object.

public void commit(javax.transaction.xa.Xid xid,
                   boolean onePhase)

參數

xid

An Xid object.

onePhase

A boolean value.

例外狀況

javax.transaction.xa.XAException

備註

This commit method is specified by the commit method in the javax.transaction.xa.XAResource interface.

另請參閱

參考

SQLServerXAResource Class

概念

SQLServerXAResource Methods
SQLServerXAResource Members