Gets or sets the command text that is used to insert logging events
into the database.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax
Property Value
Type: StringThe command text used to insert logging events into the database.
Remarks
Either the text of the prepared statement or the name of the stored procedure to execute to write into the database.
The CommandType property determines if this text is a prepared statement or a stored procedure.
If this property is not set, the command text is retrieved by invoking GetLogStatement(LoggingEvent).
See Also