SPSite.AuditLogTrimmingCallout property

Gets or sets the class name of the object that performs audit log trimming.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public Property AuditLogTrimmingCallout As String
Dim instance As SPSite
Dim value As String

value = instance.AuditLogTrimmingCallout

instance.AuditLogTrimmingCallout = value
public string AuditLogTrimmingCallout { get; set; }

Property value

Type: System.String
A string that contains the strong name of a class that implements the IAuditLogTrimmingCallout interface.


You can implement the IAuditLogTrimmingCallout interface in your class in order to perform custom actions on excess audit entries, such as saving them to a store, prior to trimming them from the log.

See also


SPSite class

SPSite members

Microsoft.SharePoint namespace