Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AdoNetAppender�Properties

The properties of the AdoNetAppender class are listed below. For a complete list of AdoNetAppender class members, see the AdoNetAppender Members topic.

Public Instance Properties

AppSettingsKey The appSettings key from App.Config that contains the connection string.
BufferSize (inherited from BufferingAppenderSkeleton) Gets or sets the size of the cyclic buffer used to hold the logging events.
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.
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 (inherited from AppenderSkeleton) Gets or sets the IErrorHandler for this appender.
Evaluator (inherited from BufferingAppenderSkeleton) Gets or sets the ITriggeringEventEvaluator that causes the buffer to be sent immediately.
FilterHead (inherited from AppenderSkeleton) The filter chain.
Fix (inherited from BufferingAppenderSkeleton) Gets or sets a the fields that will be fixed in the event
Layout (inherited from AppenderSkeleton) Gets or sets the ILayout for this appender.
Lossy (inherited from BufferingAppenderSkeleton) Gets or sets a value that indicates whether the appender is lossy.
LossyEvaluator (inherited from BufferingAppenderSkeleton) Gets or sets the value of the ITriggeringEventEvaluator to use.
Name (inherited from AppenderSkeleton) Gets or sets the name of this appender.
OnlyFixPartialEventData (inherited from BufferingAppenderSkeleton)Obsolete. Gets or sets a value indicating if only part of the logging event data should be fixed.
ReconnectOnError Should this appender try to reconnect to the database on error.
SecurityContext Gets or sets the SecurityContext used to call the NetSend method.
Threshold (inherited from AppenderSkeleton) Gets or sets the threshold Level of this appender.
UseTransactions Should transactions be used to insert logging events in the database.

Protected Instance Properties

Connection Gets or sets the underlying IDbConnection.
RequiresLayout (inherited from AppenderSkeleton) Tests if this appender requires a Layout to be set.

See Also

AdoNetAppender Class | log4net.Appender Namespace