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

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)
Available in Sandboxed Solutions: No
Available in SharePoint Online
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.