dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnectionStringBuilder Class / Protocol Property

In This Topic
Protocol Property
In This Topic
Gets or sets version of protocol to be used.
Syntax
'Declaration
 
Public Property Protocol As ProtocolVersion
 

Property Value

One of ProtocolVersion values.
Remarks

You can optionally set 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.

See Also