Apache log4net� SDK Documentation - Microsoft .NET Framework 4.0

AdoNetAppender.CommandText Property

Gets or sets the command text that is used to insert logging events into the database.

[Visual�Basic]
Public�Property�CommandText�As�String
[C#]
public�string�CommandText�{get;�set;}

Property Value

The 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.

See Also

AdoNetAppender Class | log4net.Appender Namespace