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.
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.