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)

Syntax

'Declaration
Public Property AuditLogTrimmingCallout As String
    Get
    Set
'Usage
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.

Remarks

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

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace