Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
SPList Class
SPList Properties
 EnableModeration Property
Community Content
In this section
Statistics Annotations (1)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
SPList.EnableModeration Property (Microsoft.SharePoint)
Gets or sets a Boolean value that specifies whether Content Approval is enabled for the list.

Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public Property EnableModeration As Boolean
Visual Basic (Usage)
Dim instance As SPList
Dim value As Boolean

value = instance.EnableModeration

instance.EnableModeration = value
C#
public bool EnableModeration { get; set; }

Property Value

true if Content Approval is enabled; otherwise, false.
Community Content   What is Community Content?
Add new content RSS  Annotations
Except for Picture Libraries      SuperEdge   |   Edit   |   Show History
Unfortunatelly if the list base type is a picture library, this property won't work and it will throw an exception if you try to update it.
For more details about this case you can see here http://novatecno.blogspot.com/2009/08/how-to-versioning-settings-splist.html




Edge
http://www.superedge.net
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker