Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Obtains a list of prepared transaction branches from a resource manager.
Syntax
public javax.transaction.xa.Xid[] recover(int flags)
Parameters
flags
An int value that can take one of the following values: XAResource.TMSTARTRSCAN or XAResource.TMENDRSCAN or XAResource.TMNOFLAGS or XAResource.TMSTARTTRSCAN | XAResource.TMENDRSCAN.
Return Value
An Xid object.
Exceptions
javax.transaction.xa.XAException
Remarks
This recover method is specified by the recover method in the javax.transaction.xa.XAResource interface.
If the parameter flag is not XAResource.TMSTARTRSCAN or XAResource.TMSTARTRSCAN | XAResource.TMENDRSCAN, a recovery scan must be in progress.
See Also
SQLServerXAResource Methods
SQLServerXAResource Members
SQLServerXAResource Class