Поделиться через


SPModerationStatusType Simple Type (DeploymentManifest)

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.

Specifies the document status for a list item in a Windows SharePoint Services 3.0 list or document library version collection.


<xs:simpleType name="SPModerationStatusType">
        <xs:restriction base="xs:string">
                <xs:enumeration value="Approved" />
                <xs:enumeration value="Denied" />
                <xs:enumeration value="Pending" />
                <xs:enumeration value="Draft" />
                <xs:enumeration value="Scheduled" />
        </xs:restriction>
</xs:simpleType>

Enumeration Values

Value

Description

Approved

Indicates that a specified list item is approved. The last major version of the item is displayed in the public views of the list or document library.

Denied

Indicates that a specified list item is denied. The last major version of the item is not displayed in the public views of the list or document library.

Pending

Indicates that a specified list item is pending. The decision about displaying the item in public views of the list or document library is pending.

Draft

Indicates that a specified list item is a draft. The item minor version is being edited and is not ready for approval.

Scheduled

Indicates that a specified list item is scheduled. The decision about displaying the item in public views of list or document library is pending and will be processed by a timer service.

Remarks

This type is relevant only if the list has the Moderation property enabled.

See Also

Reference

ListItem Element (DeploymentManifest - SPGenericObject)

SPModerationStatusType

Concepts

DeploymentManifest Schema