SPModerationStatusType Enumeration
Specifies values for content approval status of items in lists and document libraries.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
| Member name | Description | |
|---|---|---|
| Approved | The last major version of the item is displayed in the public views of the list or document library. | |
| Denied | The last major version of the item is not displayed in the public views of the list or document library. | |
| Pending | The decision about displaying the item in public views of the list or document library is pending. | |
| Draft | The item minor version is being edited and is not ready for approval. | |
| 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. |
SPListItem["_ModerationStatus"]
Integer value Status
0 Approved
1 Denied
2 Pending
3 Draft
4 Scheduled
The above integer values are useful for those manipulating sharepoint through the client object model.
See this post for more info:
http://solutionarchitects.org/articles/2011/02/24/spmoderationinformation-returns-null.htm
0 Approved
1 Denied
2 Pending
3 Draft
4 Scheduled
The above integer values are useful for those manipulating sharepoint through the client object model.
See this post for more info:
http://solutionarchitects.org/articles/2011/02/24/spmoderationinformation-returns-null.htm
- 4/28/2011
- deeshubby