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.
    See Also