Click or drag to resize

IAuditTrailSettings Interface


Represents the settings of Audit Trail and contains its archive status.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
public interface IAuditTrailSettings

The IAuditTrailSettings type exposes the following members.

Properties
  NameDescription
Public propertyArchiveDirectory
Gets and sets the directory to archive.
Public propertyArchiveMaxCount
Gets and sets the maxmimum number of entries required for archiving to begin. By default, this number is 3000.
Public propertyArchivePeriodCount
Gets and sets the number of periods archived. The default value is 1.
Public propertyArchivePeriodUnit
Gets and sets the period when the archive is performed. The default value is month.
Public propertyArchiveType
Gets and sets how to archive—either by time period or by entry count.
Public propertyArchiving
Finds out if archiving is currently being performed.
Public propertyLastArchived
Gets the time of the most recent archive.
Top
Methods
  NameDescription
Public methodSaveChanges
Saves archive setting changes to the ContentStore.
Top
Examples
Audit Trail settings is retrieved from the AuditTrail instance.
C#
IAuditTrailSettings settings = store.AuditTrail.Settings;
See Also