IDtcTransaction.Commit(Int32, Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提交事务。
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)
参数
- retainingwhatever
- Int32
此值必须为 false
。
- commitTypewhatever2
- Int32
从 OLE DB 枚举 XACTTC
中获取的值。
- reservedwhatever3
- Int32
此值必须为零。
注解
有关值 commitType
,请参阅 ITransaction::Commit
OLE DB 程序员参考。
不应实现此接口的任何方法,因为它仅在内部由TransactionInterop类用来表示命名空间接口的非ITransactionSystem.EnterpriseServices托管版本。