ICrmLogControl::get_TransactionUOW method (comsvcs.h)

Retrieves the transaction unit of work (UOW) without having to log the transaction UOW in the log record.

Syntax

HRESULT get_TransactionUOW(
  [out] BSTR *pVal
);

Parameters

[out] pVal

The UOW of the transaction.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_POINTER
A NULL pointer was provided as an argument.
XACT_E_WRONGSTATE
This method was called in the wrong state; either before RegisterCompensator or when the transaction is completing (CRM Worker).
E_OUTOFMEMORY
An out of memory error has occurred.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

ICrmLogControl