WMS_LOG_CYCLE_TYPE

The WMS_LOG_CYCLE_TYPE enumeration type identifies the options for cycling a log file.

typedef enum WMS_LOG_CYCLE_TYPE{
  WMS_LOG_CYCLE_NONE = 0,
  WMS_LOG_CYCLE_SIZE = 1,
  WMS_LOG_CYCLE_MONTH = 2,
  WMS_LOG_CYCLE_WEEK = 3,
  WMS_LOG_CYCLE_DAY = 4,
  WMS_LOG_CYCLE_HOUR = 5
}

Members

WMS_LOG_CYCLE_NONE

The log file never cycles.

WMS_LOG_CYCLE_SIZE

The log file cycles based on a specified size limit.

WMS_LOG_CYCLE_MONTH

The log file cycles monthly.

WMS_LOG_CYCLE_WEEK

The log file cycles weekly.

WMS_LOG_CYCLE_DAY

The log file cycles daily.

WMS_LOG_CYCLE_HOUR

The log file cycles hourly.

Remarks

If you are configuring the WMS Client Logging plug-in, you can use the Cycle property on the IWMSLoggingAdmin interface to set and retrieve the cycle. For more information about logging, see the WMS Client Logging Plug-in Properties.

Requirements

Library: WMSServerTypeLib.dll.

Platform: Windows ServerĀ 2003 family, Windows ServerĀ 2008 family.

See Also

Reference

IWMSLoggingAdmin.Cycle (C#)

IWMSLoggingAdmin.Cycle (Visual Basic .NET)

Concepts

Enumeration Types