Commits the transaction and re-enables the Auto-Commit mode.
Syntax
'Declaration
Public Overrides NotOverridable Sub Commit()
'Usage
Dim instance As TdTransaction
instance.Commit()
public override void Commit()
public:
void Commit(); override
Exceptions
| Exception | Description |
| System.ObjectDisposedException | Object is disposed and the transaction has
already been committed or rolled back. |
| TdException | The Advanced SQL Engine returned an error, or the .NET Data Provider
for Teradata detected an error. |
Requirements
| Product | Versions | Platforms |
| .NET | 6, 7 | Windows, Linux, MacOS |
| .NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
| .NET Standard | 2.0 | Windows, Linux, MacOS |
See Also