ConnectionLifeTime

This property specifies the value corresponding to the Connection LifeTime attribute in the ConnectionString property.

Declaration

// C#
public int ConnectionLifeTime{get; set;}

Property Value

An int that represents the value of the supplied attribute.

Exceptions

OracleException - The specified value is less than zero.

Remarks

When an OracleConnectionStringBuilder instance is created, this property is set to the default value of the corresponding connection string attribute.