Share via


SPList.EnableModeration Property

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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property EnableModeration As Boolean
    Get
    Set
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.EnableModeration

instance.EnableModeration = value
[ClientCallableAttribute]
public bool EnableModeration { get; set; }

Property Value

Type: System.Boolean
true if Content Approval is enabled; otherwise, false.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace