 | FileTargetArchiveOldFileOnStartup Property |
Gets or sets a value indicating whether any existing log-file should be archived on startup.
Namespace:
NLog.Targets
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntaxpublic bool ArchiveOldFileOnStartup { get; set; }
Public Property ArchiveOldFileOnStartup As Boolean
Get
Set
Dim instance As FileTarget
Dim value As Boolean
value = instance.ArchiveOldFileOnStartup
instance.ArchiveOldFileOnStartup = value
member ArchiveOldFileOnStartup : bool with get, set
Property Value
Type:
Boolean
RemarksDefault:
See Also