 | NetworkTargetKeepConnection Property |
Gets or sets a value indicating whether to keep connection open whenever possible.
Namespace:
NLog.Targets
Assembly:
NLog.Targets.Network (in NLog.Targets.Network.dll) Version: 6.0.0+be83582280f7a841b0d3c6ae75b4f95aaf07e914
Syntaxpublic bool KeepConnection { get; set; }
Public Property KeepConnection As Boolean
Get
Set
Dim instance As NetworkTarget
Dim value As Boolean
value = instance.KeepConnection
instance.KeepConnection = value
member KeepConnection : bool with get, set
Property Value
Type:
Boolean
See Also