Share via


SPWorkflowManager Class

Contains members that enable you to centrally control the workflow templates and instances across a site collection.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Workflow.SPWorkflowManager

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPWorkflowManager _
    Implements IDisposable

Dim instance As SPWorkflowManager
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPWorkflowManager : IDisposable

Remarks

Use the SPWorkflowManager class to centrally manage and control the running instances of workflows across a site collection.

Use the SPWorkflowManager object to:

  • Start, run, or cancel workflows.

  • Return all the workflows currently running on a specific item.

  • Perform other workflow administration operations.

The SPWorkflowManager class has no equivalent in the user interface. Through the Windows SharePoint Services user interface, users interact with the workflows running on items on an individual basis.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SPWorkflowManager Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview