共用方式為


DeploymentObject Element (DeploymentExportSettings)

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.

Represents a deployment object or objects (SPExportObject) marked for export to the content migration package.

DECLARATION
<xs:element
        name="DeploymentObject" type="SPExportObject"
        minOccurs="0" maxOccurs="unbounded" 
/>

USAGE
<DeploymentObject
        <!-- SPDeploymentObject -->
        <xs:attribute name="Id" type="Guid" />
        <xs:attribute name="Type" type="SPDeploymentObjectType" />
        <xs:attribute name="ParentId" type="Guid" />

        <!-- SPExportObject -->
        <xs:attribute name="Url" type="xs:string" />
        <xs:attribute name="ExcludeChildren" type="xs:boolean" />
        <xs:attribute name="IncludeDescendants" type="SPIncludeDescendants" />
        <xs:attribute name="ExportChangeToken" type="xs:string" />
/>

Type

SPExportObject

Attributes

Attribute

Type

Description

Id

Guid Simple Type (DeploymentExportSettings)

Optional. Unique identifier of the export object.

Type

SPDeploymentObjectType Simple Type (DeploymentExportSettings)

Optional. Enumeration providing values to specify the object type.

ParentId

Guid Simple Type (DeploymentExportSettings)

Optional. Unique identifier of the object's parent site.

Url

xs:string

Optional. URL to the location of the export object.

ExcludeChildren

xs:boolean

Optional. Specifies whether to exclude child objects (descendants). The value is true if children are excluded. The default is false.

IncludeDescendants

SPIncludeDescendents Simple Type (DeploymentExportSettings)

Optional. Enumeration providing values to specify which descendents, if any, to include in the content migration package.

ExportChangeToken

xs:string

Optional. Specifies the change token to use when exporting incremental changes based on changes since the last export.

Child Elements

None

Parent Elements

ExportObjects Element (DeploymentExportSettings)

See Also

Reference

SPExportObject

Concepts

DeploymentExportSettings Schema