Click or drag to resize

DatabaseCommandInfo Class

Information about database command + parameters.
Inheritance Hierarchy
SystemObject
  NLog.TargetsDatabaseCommandInfo

Namespace:  NLog.Targets
Assembly:  NLog.Database (in NLog.Database.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public class DatabaseCommandInfo

The DatabaseCommandInfo type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseCommandInfo
Initializes a new instance of the DatabaseCommandInfo class
Top
Properties
  NameDescription
Public propertyCommandType
Gets or sets the type of the command.
Public propertyConnectionString
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
Public propertyIgnoreFailures
Gets or sets a value indicating whether to ignore failures.
Public propertyParameters
Gets the collection of parameters. Each parameter contains a mapping between NLog layout and a database named or positional parameter.
Public propertyText
Gets or sets the command text.
Top
See Also