An NDoc Documented Class Library |

# NpgsqlConnection Class

This class represents a connection to a PostgreSQL server.

For a list of all members of this type, see NpgsqlConnection Members.

System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Npgsql.NpgsqlConnection

[Visual Basic]
NotInheritable Public Class NpgsqlConnection
Inherits Component
Implements IDbConnection, ICloneable
[C#]
public sealed class NpgsqlConnection : Component, IDbConnection, ICloneable

#### Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

#### Remarks

Missing <remarks> documentation for T:Npgsql.NpgsqlConnection

#### Requirements

Namespace: Npgsql

Assembly: Npgsql (in Npgsql.dll)

#### See Also

NpgsqlConnection Members | Npgsql Namespace