Click or drag to resize

DatabaseTargetKeepConnection Property

Gets or sets a value indicating whether to keep the database connection open between the log events.

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

Property Value

Type: Boolean
See Also