dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnection Class / LocalFailover Property

In This Topic
    LocalFailover Property
    In This Topic
    Determines whether the ConnectionLost event, which allows implicit reconnecting and reexectuting the corresponding operation, occurs after connection is lost.
    Syntax
    'Declaration
     
    Public Shadows Property LocalFailover As Boolean
    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

    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