Program

This property specifies the application program name.

Declaration

// C#
public static string Program {get; set}

Property Value

This property stores the name identifying the client program.

Remarks

This name is also stored in the PROGRAM column of V$SESSION on the database server. By default, the application/process name obtained from .NET is used. The app can assign different value or reset to the default by assigning a null value.

The string is returned regardless of the connection state. This property cannot be changed after the first successfully opened connection.