 | NetworkTargetConnectionCacheSize Property |
Gets or sets the size of the connection cache (number of connections which are kept alive). Requires
KeepConnection = true
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic int ConnectionCacheSize { get; set; }
Public Property ConnectionCacheSize As Integer
Get
Set
Dim instance As NetworkTarget
Dim value As Integer
value = instance.ConnectionCacheSize
instance.ConnectionCacheSize = value
member ConnectionCacheSize : int with get, set
Property Value
Type:
Int32
See Also