 | FileTargetMaxArchiveDays Property |
Gets or sets the maximum days of archive files that should be kept. Zero or negative means disabled.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic int MaxArchiveDays { get; set; }
Public Property MaxArchiveDays As Integer
Get
Set
Dim instance As FileTarget
Dim value As Integer
value = instance.MaxArchiveDays
instance.MaxArchiveDays = value
member MaxArchiveDays : int with get, set
Property Value
Type:
Int32
RemarksDefault: 0
See Also