Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TrimAuditLog property
Collapse the table of content
Expand the table of content

SPSite.TrimAuditLog property

Gets or sets a value that specifies whether to remove excess from the audit log periodically.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public bool TrimAuditLog { get; set; }

Property value

Type: System.Boolean
true to trim the audit log periodically; otherwise, false.

The retention period for events in the audit log is specified by the value of the AuditLogTrimmingRetention property.

Show:
© 2015 Microsoft