| 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.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax public bool KeepConnection { get; set; }
Public Property KeepConnection As Boolean
Get
Set
Dim instance As DatabaseTarget
Dim value As Boolean
value = instance.KeepConnection
instance.KeepConnection = value
member KeepConnection : bool with get, set
Property Value
Type:
BooleanSee Also