| Visual Basic (Declaration) | |
|---|---|
<XmlAttributeAttribute("archiveLogs")> <DefaultValueAttribute()> <DescriptionAttribute("Determines whether or not to rename (archive) old logs or just overwrite them")> Public Property ArchiveLogs As Boolean  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim instance As LoggingElement Dim value As Boolean instance.ArchiveLogs = value value = instance.ArchiveLogs  | |
| C# | |
|---|---|
[XmlAttributeAttribute("archiveLogs")] [DefaultValueAttribute()] [DescriptionAttribute("Determines whether or not to rename (archive) old logs or just overwrite them")] public bool ArchiveLogs {get; set;}  | |
| C++/CLI | |
|---|---|
[XmlAttributeAttribute("archiveLogs")] [DefaultValueAttribute()] [DescriptionAttribute("Determines whether or not to rename (archive) old logs or just overwrite them")] public: property bool ArchiveLogs { bool get(); void set ( bool value); }  | |
If 
            false then the previous log file is overwritten. 
Archive file names consist of the base log file name + ".bak" + timestamp.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family