ITransaction.Commit(Int32, Int32, Int32) 方法

定义

提交事务。Commits the transaction.

public:
 void Commit(int fRetaining, int grfTC, int grfRM);
public void Commit (int fRetaining, int grfTC, int grfRM);
abstract member Commit : int * int * int -> unit
Public Sub Commit (fRetaining As Integer, grfTC As Integer, grfRM As Integer)

参数

fRetaining
Int32

必须为 falseMust be false.

grfTC
Int32

从 OLE DB 枚举 XACTTC 中获取的值。A value taken from the OLE DB enumeration XACTTC.

grfRM
Int32

必须为零。Must be zero.

注解

有关的grfTC值,请ITransaction::Commit参阅 OLE DB 程序员参考中的。For values of grfTC, see ITransaction::Commit in the OLE DB Programmers Reference.

适用于