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 that 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.

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.