Npgsql API Documentation

NpgsqlConnection.Close Method 

[This is preliminary documentation and subject to change.]

Releases the connection to the database. If the connection is pooled, it will be made available for re-use. If it is non-pooled, the actual connection will be shutdown.

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

Implements

IDbConnection.Close

See Also

NpgsqlConnection Class | Npgsql Namespace