This documentation is archived and is not being maintained.

FileLogTraceListener.LogFileCreationSchedule Property

Determines which date to include in the names of the log files.

Namespace: Microsoft.VisualBasic.Logging
Assembly: Microsoft.VisualBasic (in microsoft.visualbasic.dll)

public LogFileCreationScheduleOption LogFileCreationSchedule { get; set; }
/** @property */
public LogFileCreationScheduleOption get_LogFileCreationSchedule ()

/** @property */
public void set_LogFileCreationSchedule (LogFileCreationScheduleOption value)

public function get LogFileCreationSchedule () : LogFileCreationScheduleOption

public function set LogFileCreationSchedule (value : LogFileCreationScheduleOption)

Not applicable.

Property Value

LogFileCreationScheduleOption. This indicates which date to include in the log-file names. The default value is None.

Assign one of the LogFileCreationScheduleOption enumeration values to the LogFileCreationSchedule property to specify which date to include in the names of the log files.

The format of the date is YYYY-MM-DD. For more information on the format of the log file name, see FullLogFileName.

LogFileCreationSchedule value

Date in the log file name

Daily

Include the current date in the log file name.

None

Do not include the date in the log file name.

Weekly

Include the first day of the current week in the log file name.

The week starts on Saturday.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: