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

  • deleteEndDate
    Type: System.DateTime

    Audit log data before this date will be trimmed.

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

IAuditLogTrimmingCallout Interface

IAuditLogTrimmingCallout Members

Microsoft.SharePoint Namespace