Share via


SPDeploymentObjectType Simple Type (DeploymentRootObjectMap)

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.

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 Windows SharePoint Services site (SPSite).

Web

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

Folder

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

List

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

ListItem

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

File

Specifies that the root object type is a Windows SharePoint Services 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