dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / ProtocolVersion Enumeration

ProtocolVersion Enumeration
Specifies version of protocol to be used when more than one is available.
Syntax
'Declaration
 
Public Enum ProtocolVersion 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
 
Members
MemberDescription
UndefinedThe protocol to use is chosen automatically, depending on server version.
Ver20Version 2.0 protocol.
Ver30Version 3.0 protocol.
Remarks
Starting with PostgreSQL server 7.4, new protocol version (3.0) is introduced. It is used by default by servers 7.4 and higher. However, sometimes you might require to use the older protocol (2.0), for example, when executing batch statements. In this case, set PgSqlConnectionStringBuilder.Protocol property to ProtocolVersion.Ver20 to force usage of protocol version 2.0.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Devart.Data.PostgreSql.ProtocolVersion

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also