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

Determines how the host to connect to is selected from the list when multiple hosts are specified in the Host connection string parameter. See Load Balancing and Failover for more information.

Syntax

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

Property Value

One of the TargetSession values.

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