共用方式為


prepare Method (SQLServerXAResource)

Requests that the resource manager prepare for a transaction commit of the transaction specified by the given Xid object.

public int prepare(javax.transaction.xa.Xid xid)

參數

xid

An Xid object.

傳回值

An int value.

例外狀況

javax.transaction.xa.XAException

備註

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

另請參閱

參考

SQLServerXAResource Class

概念

SQLServerXAResource Methods
SQLServerXAResource Members