Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPSite.AuditLogTrimmingRetention property

Gets or sets the number of days of audit log data to retain.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public int AuditLogTrimmingRetention { get; set; }

Property value

Type: System.Int32
The number of days to retain events in the audit log.

The AuditLogTrimmingRetention property specifies how many days to retain events in the audit log. When the TrimAuditLog property is set to true, excess is periodically removed from the audit log. This process involves establishing a limit by counting the specified number of days back from the present date, and then removing log entries for dates prior to this limit.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.