共用方式為


SPWorkflowTemplate.PermissionsManual Property

Gets or sets the permission level that is required for manually starting workflows that are based on this template.

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

Syntax

'Declaration
Public Property PermissionsManual As SPBasePermissions
    Get
    Set
'Usage
Dim instance As SPWorkflowTemplate
Dim value As SPBasePermissions

value = instance.PermissionsManual

instance.PermissionsManual = value
public SPBasePermissions PermissionsManual { get; set; }

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
One of the enumeration values that specifies the permission level for manually starting workflows based on this template.

Remarks

The default value is EditListItems.

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