Rolls back the transaction and re-enables the Auto-Commit mode.
Syntax
'Declaration
Public Overrides NotOverridable Sub Rollback()
'Usage
Dim instance As TdTransaction
instance.Rollback()
public override void Rollback()
public:
void Rollback(); 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 .NET Data Provider for Teradata detected an error. |
Requirements
Product | Versions | Platforms |
.NET | 2.1, 3.1, 6 | Windows, Linux, MacOS |
.NET Framework | 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8 | Windows |
.NET Standard | 2.0 | Windows, Linux, MacOS |
See Also