Represents the settings of Audit Trail and contains its archive status.
Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 9.0.565.0 (9.0.565)
Syntax
The IAuditTrailSettings type exposes the following members.
Properties
Name | Description | |
---|---|---|
ArchiveDirectory |
Gets and sets the directory to archive.
| |
ArchiveMaxCount |
Gets and sets the maxmimum number of entries required for archiving to begin. By default, this number is 3000.
| |
ArchivePeriodCount |
Gets and sets the number of periods archived. The default value is 1.
| |
ArchivePeriodUnit |
Gets and sets the period when the archive is performed. The default value is month.
| |
ArchiveType |
Gets and sets how to archive—either by time period or by entry count.
| |
Archiving |
Finds out if archiving is currently being performed.
| |
LastArchived |
Gets the time of the most recent archive.
|
Methods
Name | Description | |
---|---|---|
SaveChanges |
Saves archive setting changes to the ContentStore.
|
Examples
C#
IAuditTrailSettings settings = store.AuditTrail.Settings;
See Also