共用方式為


SPWorkflowAssociation.AllowAsyncManualStart Property

Gets or sets a value that enables Microsoft SharePoint Foundation to start the workflow asynchronously, even if the workflow was manually initiated.

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

Syntax

'Declaration
Public Property AllowAsyncManualStart As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.AllowAsyncManualStart

instance.AllowAsyncManualStart = value
public bool AllowAsyncManualStart { get; set; }

Property Value

Type: System.Boolean
true to enable SharePoint Foundation to start the workflow asynchronously; otherwise, false.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation