共用方式為


SPWorkflowAssignedToFilter Enumeration

Provides values that enable the filtering of workflows or workflow task collections based on who is assigned to those workflows or tasks, or the workflow state.

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

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public Enumeration SPWorkflowAssignedToFilter
'Usage
Dim instance As SPWorkflowAssignedToFilter
[SubsetCallableTypeAttribute]
public enum SPWorkflowAssignedToFilter

Members

Member name Description
None Represents a filter that has no restrictions.
CurrentUserAndGroups Represents a filter that restricts access to only the current user or group to which the workflow or workflow task belongs.

Remarks

Use the SPWorkflowFilter class to apply filter criteria to a workflow or workflow task collection, such as who the workflow is assigned to, and the workflow state.

See Also

Reference

Microsoft.SharePoint.Workflow Namespace