SPEventHostType enumeration

Specifies the object type that is hosting the event.

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

Syntax

'Declaration
Public Enumeration SPEventHostType
'Usage
Dim instance As SPEventHostType
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