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)
Syntax
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPAudit
Dim instance As SPAudit
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
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
Microsoft.SharePoint Namespace