Connection(string, int, string, string, string) Constructor
Initializes a new instance of the Connection class with PostgreSQL server details.
Namespace
DbSyncKit.PostgreSQL
Containing Type
Connection

Syntax

public Connection(string host, int port, string database, string userID, string password)

Parameters

Name Type Description
host string The PostgreSQL server name or IP address.
port int The port number for the PostgreSQL server.
database string The name of the PostgreSQL database.
userID string The user ID to authenticate with the PostgreSQL server.
password string The password to authenticate with the PostgreSQL server.