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

Determines whether the ConnectionLost event, which allows implicit reconnecting and reexectuting the corresponding operation, occurs after connection is lost.

Syntax

Visual Basic (Declaration) 
Public Shadows Property LocalFailover As Boolean
C# 
public new bool LocalFailover {get; set;}

Property Value

If true, the ConnectionLost event occurs when connection is lost; otherwise, an exception is thrown. The default value is false.

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