Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SPAuditEventSource enumeration

Specifies whether an audited event occurred programmatically or as a result of user action through the SharePoint Foundation UI.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public enum SPAuditEventSource

Member nameDescription
SharePointAn audited event raised by user action.
ObjectModelA programmatically raised audited event.

These values are used primarily for the SPAuditEntry.EventSource property.

One purpose served by this enumeration is to prevent a rogue solution developer from programmatically creating audit entries that appear to have been created by user action in the SharePoint Foundation UI.

Show:
© 2015 Microsoft