Condividi tramite


SP.List.enableModeration Property

Applies to: SharePoint Foundation 2010

Gets or sets a value that specifies whether content approval is enabled for the list.

var value = SP.List.get_enableModeration(); 
SP.List.set_enableModeration(value);

Property Value

Type: Boolean

Applies To

SP.List Class

Exceptions

  • [System.NotSupportedException]
    Value is set to true and the list is an external list. Error code: -1.

See Also

Reference

SP.List Methods

SP.List Properties

SP Namespace