SPAudit.TrimAuditLog method
Trims the audit log data for a given site.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub TrimAuditLog ( _
deleteEndDate As DateTime _
)
'Usage
Dim instance As SPAudit
Dim deleteEndDate As DateTime
instance.TrimAuditLog(deleteEndDate)
public void TrimAuditLog(
DateTime deleteEndDate
)
Parameters
deleteEndDate
Type: System.DateTimeAudit log data before this date will be trimmed.