SPDeploymentObjectType Simple Type (DeploymentRootObjectMap)

Applies to: SharePoint Foundation 2010

Provides values for the Type attribute on the RootObject Element (DeploymentRootObjectMap).


<xs:simpleType name="SPDeploymentObjectType">
        <xs:restriction base="xs:string">
                <xs:enumeration value="Site" />
                <xs:enumeration value="Web" />
                <xs:enumeration value="Folder" />
                <xs:enumeration value="List" /> 
                <xs:enumeration value="ListItem" />
                <xs:enumeration value="File" />
        </xs:restriction>
</xs:simpleType>>

Enumeration Values

Value

Description

Site

Specifies that the root object type is a SharePoint Foundation site (SPSite).

Web

Specifies that the root object type is a SharePoint Foundation Web (SPWeb) site object.

Folder

Specifies that the root object type is a SharePoint Foundation folder (SPFolder).

List

Specifies that the root object type is a SharePoint Foundation list or document library (SPList).

ListItem

Specifies that the root object type is a SharePoint Foundation list item (SPListItem).

File

Specifies that the root object type is a SharePoint Foundation file (SPFile).

Remarks

The SPDeploymentObjectType simple type value specifies the object type of the root object specified in the root object map.

See Also

Reference

RootObject Element (DeploymentRootObjectMap)

Concepts

DeploymentRootObjectMap Schema