DeploymentObject 元素 (DeploymentExportSettings)

上次修改时间: 2015年3月9日

适用范围: SharePoint Foundation 2010

本文内容
类型
属性
子元素
父元素

表示标记为导出到内容迁移包的一个或多个部署对象 (SPExportObject)。

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" />
/>

类型

SPExportObject

属性

属性

类型

说明

Id

GUID 简单类型 (DeploymentExportSettings)

可选。导出对象的唯一标识符。

Type

SPDeploymentObjectType 简单类型 (DeploymentExportSettings)

可选。提供用于指定对象类型的值的枚举。

ParentId

GUID 简单类型 (DeploymentExportSettings)

可选。对象的父网站的唯一标识符。

Url

xs:string

可选。指向导出对象的位置的 URL。

ExcludeChildren

xs:boolean

可选。指定是否排除子对象(后代)。如果排除子对象,则值为 true。默认值为 false。

IncludeDescendants

SPIncludeDescendents 简单类型 (DeploymentExportSettings)

可选。提供用于指定内容迁移包中要包含的后代(如果有)的值的枚举。

ExportChangeToken

xs:string

可选。指定在导出基于自上一次导出之后发生的更改的增量更改时使用的更改令牌。

子元素

父元素

ExportObjects 元素 (DeploymentExportSettings)

请参阅

引用

SPExportObject

概念

DeploymentExportSettings 架构