This documentation is archived and is not being maintained.

IDtcTransaction.Commit Method

Commits a transaction.

Namespace: System.Transactions
Assembly: System.Transactions (in system.transactions.dll)

void Commit (
	int retaining,
	int commitType,
	int reserved
)
void Commit (
	int retaining, 
	int commitType, 
	int reserved
)
function Commit (
	retaining : int, 
	commitType : int, 
	reserved : int
)
Not applicable.

Parameters

retaining

This value must be false.

commitType

A value taken from the OLE DB enumeration XACTTC.

reserved

This value must be zero.

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: