SPAudit Members (Microsoft.SharePoint)

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

The following tables list the members exposed by the SPAudit type.

Public Properties

  Name Description
Public property AuditFlags Gets or sets a value indicating what kinds of events and actions are audited.
Public property UseAuditFlagCache Gets or sets a value indicating whether the audit configuration for the site collection should be cached on the local machine.
Top
Public Methods

(see also Protected Methods )
  Name Description
Public method DeleteEntries Deletes all audit events that occurred before the specified date and time from the SharePoint database.
Public method Equals  Overloaded. (inherited from Object)
Public method GetEntries Overloaded. Gets a collection of SPAuditEntry objects from the audit data stored in the SharePoint database.
Public method GetHashCode  (inherited from Object)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method ToString  (inherited from Object)
Public method Update Updates the SharePoint database with changes to the AuditFlags property
Public method WriteAuditEvent Overloaded. Writes a record about an event to the SharePoint database.
Top
Protected Methods

  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Top
See Also

Tags :


Page view tracker