SPObjectType 简单类型 (DeploymentManifest)

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

提供所有顶级序列化 SharePoint 对象类型的值。

定义

<xs:simpleType name="SPObjectType">
        <xs:restriction base="xs:string">
                <xs:enumeration value="SPSite" />
                <xs:enumeration value="SPWeb" />
                <xs:enumeration value="SPList" />
                <xs:enumeration value="SPDocumentLibrary" />
                <xs:enumeration value="SPPictureLibrary" />
                <xs:enumeration value="SPListItem" />
                <xs:enumeration value="SPFolder" />
                <xs:enumeration value="SPFile" />
                <xs:enumeration value="SPContentType" />
                <xs:enumeration value="SPWebTemplate" />
                <xs:enumeration value="SPModule" />
                <xs:enumeration value="SPDocumentTemplate" />
                <xs:enumeration value="SPListTemplate" />
                <xs:enumeration value="DeploymentWebStructure" />
                <xs:enumeration value="DeploymentUserX" />
                <xs:enumeration value="DeploymentGroupX" />
                <xs:enumeration value="DeploymentRoles" />
                <xs:enumeration value="DeploymentRoleX" />
                <xs:enumeration value="DeploymentRoleAssignments" />
                <xs:enumeration value="DeploymentRoleAssignmentX" />
                <xs:enumeration value="DeploymentFieldTemplate" />
                <xs:enumeration value="SPFeature" />
        </xs:restriction>
</xs:simpleType>

枚举值

说明
SPSite
指定 SharePoint 对象的类型为 SPSite
SPWeb
指定 SharePoint 对象的类型为 SPWeb
SPList
指定 SharePoint 对象的类型为 SPList
SPDocumentLibrary
指定 SharePoint 对象的类型为 SPDocumentLibrary
SPPictureLibrary
指定 SharePoint 对象的类型为 SPPictureLibrary
SPListItem
指定 SharePoint 对象的类型为 SPListItem
SPFolder
指定 SharePoint 对象的类型为 SPFolder
SPFile
指定 SharePoint 对象的类型为 SPFile
SPContentType
指定 SharePoint 对象的类型为 SPContentType
SPWebTemplate
指定 SharePoint 对象的类型为 SPWebTemplate
SPModule
指定 SharePoint 对象的类型为 SPModule
SPDocumentTemplate
指定 SharePoint 对象的类型为 SPDocumentTemplate
SPListTemplate
指定 SharePoint 对象的类型为 SPListTemplate
DeploymentWebStructure
指定 SharePoint 对象的类型为 DeploymentWebStructure
DeploymentUserX
指定 SharePoint 对象的类型为 DeploymentUserX
DeploymentGroupX
指定 SharePoint 对象的类型为 DeploymentGroupX
DeploymentRoles
指定 SharePoint 对象的类型为 DeploymentRoles
DeploymentRoleX
指定 SharePoint 对象的类型为 DeploymentRoleX
DeploymentRoleAssignments
指定 SharePoint 对象的类型为 DeploymentRoleAssignments
DeploymentRoleAssignmentX
指定 SharePoint 对象的类型为 DeploymentRoleAssignmentX
DeploymentFieldTemplate
指定 SharePoint 对象的类型为 DeploymentFieldTemplate
SPFeature
指定 SharePoint 对象的类型为 SPFeature

另请参阅