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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntax
public bool KeepConnection { get; set; }

Property Value

Type: Boolean
See Also