Share via


SPEventHostType Simple Type (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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