OracleConnectionOpenReason Enumeration
This enumeration's values specify the reason for triggering a ConnectionOpen event. Applications can retrieve the reason through the OracleConnectionOpenEventArgs Reason property
Table 6-222 lists all the OracleConnectionOpenReason enumeration values with a description of each enumerated value.
Table 6-222 OracleConnectionOpenReason Enumeration Values
| Member Name | Description |
|---|---|
|
|
Indicates a hard connect to the database. A new connection has been created. |
|
|
Indicates a soft connect to the database. A connection from the pool has been dispensed. |
A connection created for Application Continuity replay has an enumeration value of HardConnect.
Requirements
| Provider | ODP.NET, Managed Driver | ODP.NET Core |
|---|---|---|
|
Assembly |
|
|
|
Namespace |
|
|
|
.NET Framework |
- |
|
|
.NET (Core) |
- |