共用方式為


SPWorkflowAssociation.AllowManual Property

Gets or sets whether workflow instances based on this workflow association can be started manually.

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

Syntax

'Declaration
<ClientCallableAttribute> _
Public Property AllowManual As Boolean
    Get
    Set
'Usage
Dim instance As SPWorkflowAssociation
Dim value As Boolean

value = instance.AllowManual

instance.AllowManual = value
[ClientCallableAttribute]
public bool AllowManual { get; set; }

Property Value

Type: System.Boolean
true to enable workflow instances to be started manually; otherwise, false.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

PermissionsManual

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation