Compartir a través de


recover Method (SQLServerXAResource)

Obtains a list of prepared transaction branches from a resource manager.

public javax.transaction.xa.Xid[] recover(int flags)

Parámetros

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.

Valor devuelto

An Xid object.

Excepciones

javax.transaction.xa.XAException

Notas

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.

Vea también

Referencia

SQLServerXAResource Class

Conceptos

SQLServerXAResource Methods
SQLServerXAResource Members