dotConnect for PostgreSQL Documentation
Protocol Property
See Also  support@devart.com
Devart.Data.PostgreSql Namespace > PgSqlConnectionStringBuilder Class : Protocol Property

Gets or sets version of protocol to be used.

Syntax

Visual Basic (Declaration) 
Public Property Protocol As ProtocolVersion
C# 
public ProtocolVersion Protocol {get; set;}

Property Value

One of ProtocolVersion values.

Remarks

You can optionally set PgSqlConnectionStringBuilder.Protocol property to ProtocolVersion.Ver20 to force using of 2.0 version on servers that have 3.0 selected by default (PostgreSQL servers 7.4 and higher).

Note that for PostgreSQL versions lower than 7.4, you must explicitly set it to ProtocolVersion.Ver20. Otherwise, you will get an error.

Requirements

Platforms:Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8, Windows 10, Windows Server 2012 family.

See Also