SPAudit Class

Enables auditing of how site collections, sites, lists, folders, and list items are accessed, changed, and used.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPAudit

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public NotInheritable Class SPAudit
'Usage
Dim instance As SPAudit
public sealed class SPAudit

Remarks

SPAudit objects are primarily used as the values of the SPSite.Audit, SPWeb.Audit, SPList.Audit, SPFolder.Audit, and SPListItem.Audit properties.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPAudit Members

Microsoft.SharePoint Namespace

Other Resources

Item-Level Auditing with SharePoint Server 2007