Npgsql API Documentation |

# NpgsqlConnection Class

[This is preliminary documentation and subject to change.]

This class represents a connection to a PostgreSQL server.

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

System.Object
MarshalByRefObject
Component
NpgsqlConnection

[Visual Basic]
<ToolboxBitmap>
<DesignerCategory(Category="Component")>
NotInheritable Public Class NpgsqlConnection
Inherits Component
Implements ,
[C#]
[ToolboxBitmap]
[DesignerCategory(Category="Component")]
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.

#### Requirements

Namespace: Npgsql

Assembly: Npgsql (in Npgsql.dll)

#### See Also

NpgsqlConnection Members | Npgsql Namespace