Click or drag to resize

DatabaseTargetCommandType Property

Gets or sets the type of the SQL command to be run on each log level.

Namespace:  NLog.Targets
Assembly:  NLog.Database (in NLog.Database.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntax
public CommandType CommandType { get; set; }

Property Value

Type: CommandType
Remarks
This specifies how the command text is interpreted, as "Text" (default) or as "StoredProcedure". When using the value StoredProcedure, the commandText-property would normally be the name of the stored procedure. TableDirect method is not supported in this context.
See Also