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