AdoNetAppender Connection Property Apache log4net™ SDK Documentation
Gets or sets the underlying OnlineIDbConnection.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

protected IDbConnection Connection { get; set; }

Property Value

Type: OnlineIDbConnection
The underlying OnlineIDbConnection.
Remarks

AdoNetAppender creates a OnlineIDbConnection to insert logging events into a database. Classes deriving from AdoNetAppender can use this property to get or set this OnlineIDbConnection. Use the underlying OnlineIDbConnection returned from Connection if you require access beyond that which AdoNetAppender provides.
See Also