IAuditLogTrimmingCallout.AuditLogTrimming Method
Called before the audit log for the given site is trimmed.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Function AuditLogTrimming ( _
site As SPSite, _
deleteEndDate As DateTime _
) As Boolean
'Usage
Dim instance As IAuditLogTrimmingCallout
Dim site As SPSite
Dim deleteEndDate As DateTime
Dim returnValue As Boolean
returnValue = instance.AuditLogTrimming(site, _
deleteEndDate)
bool 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 before this date will be trimmed.
Return Value
Type: System.Boolean
Returns Boolean.
See Also
Reference
IAuditLogTrimmingCallout Interface