Share via


WorkflowContext.AllowDefaultContentApproval Property

Gets a value that indicates whether the workflow can be started automatically when the user approves the publishing of a major version of a list item.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Public ReadOnly Property AllowDefaultContentApproval As Boolean
    Get
'Usage
Dim instance As WorkflowContext
Dim value As Boolean

value = instance.AllowDefaultContentApproval
public bool AllowDefaultContentApproval { get; }

Property Value

Type: System.Boolean
true if the workflow can be started automatically when the user approves the publishing of a major version of a list item; otherwise, false.

See Also

Reference

WorkflowContext Class

WorkflowContext Members

Microsoft.SharePoint.WorkflowActions Namespace