Share via


SPEventHostType Enumeration

Specifies the object type that is hosting the event.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPEventHostType
'Usage
Dim instance As SPEventHostType
[SubsetCallableTypeAttribute]
public enum SPEventHostType

Members

Member name Description
Invalid Not used.
Site The event host is a site collection.
Web The event host is a site.
List The event host is a list.
ListItem The event host is a list item.
ContentType The event host is a content type.
Workflow The event host is a workflow.
Feature The event host is a SharePoint feature.
WorkflowList The event host is a workflow task list.

See Also

Reference

Microsoft.SharePoint Namespace