共用方式為


SPWorkflowTemplate.AllowManual Property

Gets and sets whether workflow instances based on this workflow template can be started manually. True to be able to start workflow instances manually.

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

Syntax

'Declaration
<ClientCallablePropertyAttribute(SetProperty := False)> _
Public Property AllowManual As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
Dim value As Boolean

value = instance.AllowManual

instance.AllowManual = value
[ClientCallablePropertyAttribute(SetProperty = false)]
public bool AllowManual { get; set; }

Property Value

Type: System.Boolean
A Boolean that represents whether the workflow can be manually initiated.

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