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