AdoNetAppender CommandType Property Apache log4net™ SDK Documentation
Gets or sets the command type to execute.

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public CommandType CommandType { get; set; }

Property Value

Type: OnlineCommandType
The command type to execute.
Remarks

This value may be either OnlineText (System.Data.CommandType.Text) to specify that the CommandText is a prepared statement to execute, or OnlineStoredProcedure (System.Data.CommandType.StoredProcedure) to specify that the CommandText property is the name of a stored procedure to execute.

The default value is OnlineText (System.Data.CommandType.Text).

See Also