dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnectionStringBuilder Class / HAEvents Property

In This Topic
    HAEvents Property
    In This Topic
    Allows dotConnect for Oracle to proactively remove connections to corresponding Oracle Real Application Clusters (RAC) database service, service member, instance, or node from the pool when this service, service member, instance, or node goes down.
    Syntax
    'Declaration
     
    Public Property HAEvents As Boolean
    public bool HAEvents {get; set;}

    Property Value

    If true, the connections to Oracle Real Application Clusters (RAC) database services, service members, instances, or nodes that went down will be proactively removed from the pool. The default value is false.
    Remarks
    Please note that HA events are not supported in the OracleConnection.Direct mode. They are supported for Oracle Client 10g and higher. For Oracle Client 10g this event can be received only when you have at least one active connection to the Oracle database service, service member, instance, or node that goes down. For Oracle Client 11 and higher this event is received regardless of a presence of active connections to the event source.
    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