Condividi tramite


IDtcLuRmEnlistment::RequestCommit

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The RequestCommit method is called by the client, in response to a call to IDtcLuRmEnlistmentSink::Prepare, when the client has decided it can commit the transaction. The MSDTC will respond to this message by calling either IDtcLuRmEnlistment::BackOut or IDtcLuRmEnlistment::Committed.

Syntax

HRESULT RequestCommit ();

Return Values

This method returns the standard values E_OUTOFMEMORY and E_UNEXPECTED, as well as the following:

S_OK
Method completed successfully.

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in txdtc.h