IDtcTransaction.Commit(Int32, Int32, Int32) Metoda

Definicja

Zatwierdza transakcję.

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

Parametry

retainingwhatever
Int32

Ta wartość musi mieć falsewartość .

commitTypewhatever2
Int32

Wartość pobrana z wyliczenia XACTTCOLE DB.

reservedwhatever3
Int32

Ta wartość musi być równa zero.

Uwagi

Aby uzyskać informacje o wartościach commitType, zobacz ITransaction::Commit w dokumentacji programistów OLE DB.

Nie należy implementować żadnej metody tego interfejsu, ponieważ jest ona używana tylko przez TransactionInterop klasę wewnętrznie do reprezentowania niezarządzanej wersji ITransaction interfejsu System.EnterpriseServices przestrzeni nazw.

Dotyczy