DatabaseCommandInfo Class |
Namespace: NLog.Targets
The DatabaseCommandInfo type exposes the following members.
Name | Description | |
---|---|---|
DatabaseCommandInfo | Initializes a new instance of the DatabaseCommandInfo class |
Name | Description | |
---|---|---|
CommandType |
Gets or sets the type of the command.
| |
ConnectionString |
Gets or sets the connection string to run the command against. If not provided, connection string from the target is used.
| |
IgnoreFailures |
Gets or sets a value indicating whether to ignore failures.
| |
Parameters |
Gets the collection of parameters. Each parameter contains a mapping
between NLog layout and a database named or positional parameter.
| |
Text |
Gets or sets the command text.
|