Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SPEventHostType enumeration
Collapse the table of content
Expand the table of content

SPEventHostType enumeration

Specifies the object type that is hosting the event.

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

public enum SPEventHostType

Member nameDescription
InvalidNot used.
SiteThe event host is a site collection.
WebThe event host is a site.
ListThe event host is a list.
ListItemThe event host is a list item.
ContentTypeThe event host is a content type.
WorkflowThe event host is a workflow.
FeatureThe event host is a SharePoint feature.
WorkflowListThe event host is a workflow task list.
© 2015 Microsoft