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

In This Topic
    ProtocolVersion Enumeration
    In This Topic
    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

    See Also