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)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Property AuditLogTrimmingCallout As String
    Get
    Set
'Usage
Dim instance As SPSite
Dim value As String

value = instance.AuditLogTrimmingCallout

instance.AuditLogTrimmingCallout = value
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
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