This property specifies the action name for the connection.


// C#
public string ActionName {set;}

Property Value

The string to be used as the action name.


The default value is null.

Using the ActionName property allows the application to set the action name in the application context for a given OracleConnection object.

In unmanaged ODP.NET, the ActionName property is reset to null when the Close or Dispose method is called on the OracleConnection object. In managed ODP.NET, it is reset to null (assuming no new value is assigned) upon the next database round trip following a Close or Dispose method call on the OracleConnection object.