DeploymentObject 元素 (DeploymentExportSettings)

适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

表示一个或多个部署对象 (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

元素和属性

下面各部分介绍了属性、子元素和父元素。

Attributes

属性 类型 说明
Id
GUID 简单类型 (DeploymentExportSettings)
可选。 导出对象的唯一标识符。
类型
SPDeploymentObjectType 简单类型 (DeploymentExportSettings)
可选。 提供用于指定对象类型的值的枚举。
ParentId
GUID 简单类型 (DeploymentExportSettings)
可选。 对象的父网站的唯一标识符。
Url
xs:string
可选。 指向导出对象的位置的 URL。
ExcludeChildren
xs:boolean
可选。 指定是否排除子对象(后代)。 如果排除子对象,则值为 true。 默认值为 false
IncludeDescendants
SPIncludeDescendents 简单类型 (DeploymentExportSettings)
可选。 提供用于指定内容迁移包中要包含的后代(如果有)的值的枚举。
ExportChangeToken
xs:string
可选。 指定在导出基于自上一次导出之后发生的更改的增量更改时使用的更改令牌。

子元素

父元素

ExportObjects 元素 (DeploymentExportSettings)

另请参阅