ActionName

This property specifies the action name for the connection.

Declaration

// C#
public string ActionName {set;}

Property Value

The string to be used as the action name.

Remarks

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.

For unmanaged ODP.NET with CPVersion = 1.0, the ActionName property is reset to null upon the next server roundtrip following a Close or Dispose method call on the OracleConnection object. For all other ODP.NET provider types and CPVersion settings, ActionName property is reset to null when the Close or Dispose method is called on the OracleConnection object.