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: 5.3.1+cf6675da40ccfd4c8c526a3b2bdbeed3442910a1
Syntax
public bool KeepConnection { get; set; }

Property Value

Type: Boolean
See Also