Export (0) Print
Expand All

SPEventReceiverDefinition.HostType Property

Windows SharePoint Services 3

Gets or sets the type of object that is specified as the event host for an event receiver.

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

public SPEventHostType HostType { get; set; }

Property Value

Type: Microsoft.SharePoint.SPEventHostType
An SPEventHostType value specifying the type of object.

Users perform actions such as delete, update, check in, or convert on Windows SharePoint Services objects. When a Windows SharePoint Services object has some action performed on it by the user, the object generates an event. The event that specified that an action occurred must be received by an event host specified by the site. Content types, features, lists and list items, sites, webs, and workflows are all types of event hosts.

Community Additions

ADD
Show:
© 2014 Microsoft