Share via


SPWorkflowRunOptions Enumeration

Describes options for running a workflow instance.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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()