Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AdoNetAppender.Connection Property

Gets or sets the underlying IDbConnection.


Property Value

The underlying IDbConnection.


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

See Also

AdoNetAppender Class | log4net.Appender Namespace