Partager via


List.EnableModeration - Propriété

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

Espace de noms :  Microsoft.SharePoint.Client
Assemblys :   Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll)  Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)

Syntaxe

'Déclaration
Public Property EnableModeration As Boolean
    Get
    Set
'Utilisation
Dim instance As List
Dim value As Boolean

value = instance.EnableModeration

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

Valeur de propriété

Type : System.Boolean
Returns Booleantrue if content approval is enabled for the list otherwise returns false. The default value is

Exceptions

Exception Condition
[System.NotSupportedException]

Value is set to true and the list is an external list. Error code: -1.

Voir aussi

Référence

List classe

List - Membres

Microsoft.SharePoint.Client - Espace de noms