RootObject Element (DeploymentRootObjectMap)

Applies to: SharePoint Foundation 2010

Represents an instance of a root object in a root object map exported to the content migration package.

DECLARATION
<xs:element
    name="RootObject" type="SPRootObject"
    minOccurs="0" maxOccurs="unbounded" 
/>

USAGE
<RootObjects>
    <RootObject
        Id="Guid"
        Type="SPDeploymentObjectType"
        ParentId="Guid"
        WebUrl="xs:string"
        Url="xs:string"
        IsDependency="xs:boolean"
    />
</RootObjects>

Type

SPRootObject

Attributes

Attribute

Type

Description

Id

Guid Simple Type (DeploymentRootObjectMap))

Optional. Unique identifier of the root object.

Type

SPDeploymentObjectType Simple Type (DeploymentRootObjectMap)

Optional. Specifies the object type of the root object: Site, Web, Folder, List, ListItem, or File.

ParentId

Guid Simple Type (DeploymentRootObjectMap))

Optional. Unique identifier of the parent Web.

WebUrl

xs:string

Optional. URL to the parent Web site.

Url

xs:string

Optional. URL to the root object.

IsDependency

xs:boolean

Optional. Specifies whether the object is a dependent object. The value is true if the object is dependent; otherwise, false.

Child Elements

None

Parent Elements

RootObjects Element (DeploymentRootObjectMap)

See Also

Concepts

DeploymentRootObjectMap Schema