SPAudit.WriteAuditEvent method

Writes a record about an event to the SharePoint database.

Overload list

  Name Description
Public method WriteAuditEvent(String, String, String) Writes a record about an event to the SharePoint database.
Public method WriteAuditEvent(SPAuditEventType, String, String) Writes a record about an event to the SharePoint database.
Public method WriteAuditEvent(String, String, Int32, String) Writes the audit entry with customized user ID.
Public methodStatic member WriteAuditEvent(SPWeb, String, SPAuditItemType, SPAuditEventType, String, String, String) Writes an unrestricted volume of data to the audit history in the SharePoint database.

Top

See also

Reference

SPAudit class

SPAudit members

Microsoft.SharePoint namespace