Свойство List.DefaultContentApprovalWorkflowId
Gets or sets a value that specifies the default workflow identifier for content approval on 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 DefaultContentApprovalWorkflowId As Guid
Get
Set
'Применение
Dim instance As List
Dim value As Guid
value = instance.DefaultContentApprovalWorkflowId
instance.DefaultContentApprovalWorkflowId = value
public Guid DefaultContentApprovalWorkflowId { get; set; }
Значение свойства
Тип: System.Guid
Returns a Guid instance representing the default workflow identifier for content approval on the list.
Исключения
Исключение | Условие |
---|---|
[Microsoft.SharePoint.SPException] | Value is changed, and EnableMinorVersions is set to false, EnableModeration is set to false, or the specified value is not a workflow identifier that is associated with the list. Error code: -2146232832. |
Замечания
It must be an empty GUID if there is no default content approval workflow.