Редагувати

Поділитися через


IDtcTransaction.Commit(Int32, Int32, Int32) Method

Definition

Commits a transaction.

public:
 void Commit(int retaining, int commitType, int reserved);
public void Commit (int retaining, int commitType, int reserved);
abstract member Commit : int * int * int -> unit
Public Sub Commit (retaining As Integer, commitType As Integer, reserved As Integer)

Parameters

retaining
Int32

This value must be false.

commitType
Int32

A value taken from the OLE DB enumeration XACTTC.

reserved
Int32

This value must be zero.

Remarks

For values of commitType, see ITransaction::Commit in the OLE DB Programmers Reference.

You should not implement any method of this interface, as it is used only by the TransactionInterop class internally to represent the unmanaged version of the ITransaction interface of the System.EnterpriseServices namespace.

Applies to