AdoNetAppender Properties | Apache log4net™ SDK Documentation

The AdoNetAppender type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| AppSettingsKey | The appSettings key from App.Config that contains the connection string.
| BufferSize | Gets or sets the size of the cyclic buffer used to hold the logging events. (Inherited from BufferingAppenderSkeleton.)
| CommandText | Gets or sets the command text that is used to insert logging events into the database.
| CommandType | Gets or sets the command type to execute.
| Connection | Gets or sets the underlying IDbConnection.
| ConnectionString | Gets or sets the database connection string that is used to connect to the database.
| ConnectionStringName | The connectionStrings key from App.Config that contains the connection string.
| ConnectionType | Gets or sets the type name of the IDbConnection connection that should be created.
| ErrorHandler | Gets or sets the IErrorHandler for this appender. (Inherited from AppenderSkeleton.)
| Evaluator | Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately. (Inherited from BufferingAppenderSkeleton.)
| FilterHead | The filter chain. (Inherited from AppenderSkeleton.)
| Fix | Gets or sets a the fields that will be fixed in the event (Inherited from BufferingAppenderSkeleton.)
| Layout | Gets or sets the ILayout for this appender. (Inherited from AppenderSkeleton.)
| Lossy | Gets or sets a value that indicates whether the appender is lossy. (Inherited from BufferingAppenderSkeleton.)
| LossyEvaluator | Gets or sets the value of the ITriggeringEventEvaluator to use. (Inherited from BufferingAppenderSkeleton.)
| Name | Gets or sets the name of this appender. (Inherited from AppenderSkeleton.)
| OnlyFixPartialEventData | Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed. (Inherited from BufferingAppenderSkeleton.)
| ReconnectOnError | Should this appender try to reconnect to the database on error.
| RequiresLayout | Tests if this appender requires a Layout to be set. (Inherited from AppenderSkeleton.)
| SecurityContext | Gets or sets the SecurityContext used to call the NetSend method.
| Threshold | Gets or sets the threshold Level of this appender. (Inherited from AppenderSkeleton.)
| UseTransactions | Should transactions be used to insert logging events in the database.

Top
See Also

#### Reference

AdoNetAppender Class
log4net.Appender Namespace