SPWorkflowRunOptions enumeration

Describes options for running a workflow instance.

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

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPWorkflowRunOptions
'Usage
Dim instance As SPWorkflowRunOptions
[SubsetCallableTypeAttribute]
public enum SPWorkflowRunOptions

Members

Member name Description
Synchronous Run the workflow instance synchronously. This is the default.
SynchronousAllowPostpone Try to run the workflow instance synchronously. If the synchronous start fails, fall back to asynchronous.
Asynchronous Do not allow the workflow instance to run synchronously.

See also

Reference

Microsoft.SharePoint.Workflow namespace

StartWorkflow()