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

In This Topic
    TargetSession Property (PgSqlConnectionStringBuilder)
    In This Topic
    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
    'Declaration
     
    Public Property TargetSession As TargetSession
    public TargetSession TargetSession {get; set;}

    Property Value

    One of the TargetSession values.
    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