Npgsql API Documentation |

# NpgsqlTransaction.Dispose Method

[This is preliminary documentation and subject to change.]

Releases the unmanaged resources used by the NpgsqlTransaction and optionally releases the managed resources.

[Visual Basic]
NotOverridable Public Sub Dispose() Implements _
IDisposable.Dispose
[C#]
public void Dispose();

#### Implements

IDisposable.Dispose

#### See Also

NpgsqlTransaction Class | Npgsql Namespace