GetLastTransaction Method

Replication Programming

Replication Programming

GetLastTransaction Method

The GetLastTransaction method retrieves information about the last stored transaction.

Applies To

DistributionStore Object

Syntax

HRESULT GetLastTransaction(
BYTE* pXactID,
BYTE* pXactSeqno );

Part Description
XactID Transaction identifier that uniquely identifies the transaction. It can be up to 255 bytes. The default is NULL.
XactSeqno Transaction sequence number that identifies the sequence in which transactions are committed (in big-endian format). Transactions with lower sequence numbers are committed first.

Remarks

The method returns S_OK if it succeeds and DB_E_ERROROCCURRED if it fails.