共用方式為


SPWorkflowTemplate.AllowAsyncManualStart Property

True to allow for Windows SharePoint Services 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 SPWorkflowTemplate
Dim value As Boolean

value = instance.AllowAsyncManualStart

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

Property Value

Type: System.Boolean
A Boolean that represents whether the workflow can be started asynchronously.

See Also

Reference

SPWorkflowTemplate Class

SPWorkflowTemplate Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation