SPObject 元素 (DeploymentManifest)

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

表示 SPGenericObject) (顶级 Windows SharePoint Services 3.0 对象的实例。

定义

DECLARATION
<xs:element name="SPObject"
        type="SPGenericObject"
        minOccurs="0" maxOccurs="unbounded"
/>
USAGE
<SPObjects>
        <SPObject
                ObjectType="SPObjectType"
                Id="Guid"
                ParentId="Guid"
                Name="xs:string"
                IsDeleted="xs:boolean"
                ParentWebId="Guid"
                ParentWebUrl="xs:string"
                ContentTypeId="xs:string"
                Url="xs:string"
        />
</SPObjects>

类型

SPGenericObject (对象)

元素和属性

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

Attributes

属性 类型 说明
ObjectType
SPObjectType 简单类型 (DeploymentManifest)
可选。 提供值以指定 Windows SharePoint Services 3.0 顶级对象类型的枚举。
Id
GUID 简单类型 (DeploymentManifest)
可选。 Windows SharePoint Services 3.0 对象的唯一标识符。
ParentId
GUID 简单类型 (DeploymentManifest)
可选。 父部署对象的唯一标识符。
名称
xs:string
可选。 对象的名称。
IsDeleted
xs:boolean
可选。 指定是否已删除对象。
ParentWebId
GUID 简单类型 (DeploymentManifest)
可选。 父网站的唯一标识符。
ParentWebUrl
xs:string
可选。 父网站的 URL。
ContenTypeId
xs:string
可选。 指定对象内容类型。
Url
xs:string
可选。 指向对象的 URL。

子元素

父元素

另请参阅