Share via


SPEventHostType Simple Type (DeploymentManifest)

Applies to: SharePoint Foundation 2010

Specifies the object type for event hosts.

<xs:simpleType name="SPEventHostType" >
   <xs:restriction base="xs:string">
      <xs:enumeration value="Site" />
      <xs:enumeration value="Web" />
      <xs:enumeration value="List" />
      <xs:enumeration value="ListItem" />
      <xs:enumeration value="ContentType" />
      <xs:enumeration value="Feature" />
   </xs:restriction>
</xs:simpleType>

Enumeration Values

Value

Description

Site

SharePoint Site object (SPSite).

Web

SharePoint Web object (SPWeb).

List

SharePoint List object (SPList).

ListItem

SharePoint ListItem object (SPListItem).

ContentType

SharePoint ContentType object (SPContentType).

Feature

SharePoint Feature object (SPFeature).

See Also

Reference

SPEventHostType

Concepts

DeploymentManifest Schema