Свойство List.EnableModeration
Gets or sets a value that specifies whether content approval is enabled for the list.
Пространство имен: Microsoft.SharePoint.Client
Сборки: Microsoft.SharePoint.Client.Silverlight (в Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (в Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (в Microsoft.SharePoint.Client.dll)
Синтаксис
'Декларация
Public Property EnableModeration As Boolean
Get
Set
'Применение
Dim instance As List
Dim value As Boolean
value = instance.EnableModeration
instance.EnableModeration = value
public bool EnableModeration { get; set; }
Значение свойства
Тип: System.Boolean
Returns Booleantrue if content approval is enabled for the list otherwise returns false. The default value is
Исключения
Исключение | Условие |
---|---|
[System.NotSupportedException] | Value is set to true and the list is an external list. Error code: -1. |