共用方式為


SPWorkflowAssociation.PermissionsManual Property

Gets or sets the permissions that are required for manually starting workflows that are based on this association.

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 SPWorkflowAssociation
Dim value As SPBasePermissions

value = instance.PermissionsManual

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

Property Value

Type: Microsoft.SharePoint.SPBasePermissions
An enumeration value that specifies a set of permissions.

Remarks

The value of this property represents the minimum permissions that a user who is manually starting a workflow must have to the parent object of the workflow to successfully start the workflow. If the workflow is associated with a list or content type, the value represents the set of permissions needed on the item where the workflow would start. If the workflow is associated with a website, it represents the set of permissions on the SPWeb object.

See Also

Reference

SPWorkflowAssociation Class

SPWorkflowAssociation Members

Microsoft.SharePoint.Workflow Namespace

AllowManual

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation