SPAudit Methods
Include Protected Members
Include Inherited Members
The SPAudit type exposes the following members.
Methods
Name | Description | |
---|---|---|
DeleteEntries | Deletes all audit events that occurred before the specified date and time from the SharePoint database. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetEntries() | Gets a collection of SPAuditEntry objects from the audit data stored in the SharePoint database, without restriction as to date, user, or event type. | |
GetEntries(SPAuditQuery) | Gets a collection of SPAuditEntry objects from the audit data stored in the SharePoint database that match the specified query. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) | |
TrimAuditLog | ||
Update | Updates the SharePoint database with changes to the AuditFlags property | |
WriteAuditEvent(String, String, String) | Writes a record about an event to the SharePoint database. | |
WriteAuditEvent(SPAuditEventType, String, String) | Writes a record about an event to the SharePoint database. | |
WriteAuditEvent(String, String, Int32, String) | Writes the audit entry with customized user ID. | |
WriteAuditEvent(SPWeb, String, SPAuditItemType, SPAuditEventType, String, String, String) | Writes an unrestricted volume of data to the audit history in the SharePoint database. | |
WriteAuditEventUnlimitedData(String, String, String) | Writes an unrestricted volume of data to the audit history in the SharePoint database. | |
WriteAuditEventUnlimitedData(SPAuditEventType, String, String) | Writes an unrestricted volume of data to the audit history in the SharePoint database. |
Top