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.