ICrmCompensator::EndPrepare method (comsvcs.h)

Notifies the CRM Compensator that it has had all the log records available during the prepare phase. The CRM Compensator votes on the transaction outcome by using the return parameter of this method.

Syntax

HRESULT EndPrepare(
  [out] BOOL *pfOkToPrepare
);

Parameters

[out] pfOkToPrepare

Indicates whether the prepare phase succeeded, in which case it is OK to commit this transaction.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

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

ICrmCompensator