IdeaBlade DevForce 2010 Help Reference
ArchiveLogs Property
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > LoggingElement Class : ArchiveLogs Property



Gets or sets whether to archive old log files.

Syntax

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);
}

Remarks

If false then the previous log file is overwritten.

Archive file names consist of the base log file name + ".bak" + timestamp.

Requirements

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

See Also

© 2013 All Rights Reserved.