IDtcTransaction.Commit(Int32, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Commits a transaction.
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)
Parameters
- retaining
- Int32
This value must be false
.
- commitType
- Int32
A value taken from the OLE DB enumeration XACTTC
.
- reserved
- Int32
This value must be zero.
Remarks
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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈