Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Generates an audit log report for the specified site for entries occured before the specified date.
Namespace: Microsoft.Office.RecordsManagement.Reporting
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Private Function AuditLogTrimming ( _
site As SPSite, _
deleteEndDate As DateTime _
) As Boolean Implements IAuditLogTrimmingCallout.AuditLogTrimming
'Usage
Dim instance As AuditLogTrimmingReportCallout
Dim site As SPSite
Dim deleteEndDate As DateTime
Dim returnValue As Boolean
returnValue = CType(instance, IAuditLogTrimmingCallout).AuditLogTrimming(site, _
deleteEndDate)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
boolIAuditLogTrimmingCallout.AuditLogTrimming(
SPSite site,
DateTime deleteEndDate
)
Parameters
site
Type: Microsoft.SharePoint.SPSiteThe site for which the audit log is being trimmed.
deleteEndDate
Type: System.DateTimeAudit log data prior to this date will be trimmed.
Return Value
Type: System.Boolean
Returns Boolean.
Implements
IAuditLogTrimmingCallout.AuditLogTrimming(SPSite, DateTime)
Remarks
Called before the audit log for the specified site is trimmed.
See Also
Reference
AuditLogTrimmingReportCallout Class