This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITransactions Interface > ITransactions.StartTransaction Method (ArcObjects .NET 10.4 SDK) |
Begins a new transaction.
[Visual Basic .NET]
Public Sub StartTransaction ( _
)
[C#] public void StartTransaction ( );
[C++]
HRESULT StartTransaction(
void
);
Applications are responsible for starting a new transaction (using the StartTransaction method) on the workspace only if the workspace is not already within a transaction. If the workspace is within an transaction this call will amount to a no operation without error. It should be noted that if CommitTransaction is then called it will be acting on the origin transaction and all changes within that original transaction wil be commited.