SPWorkflow class

Represents a workflow instance that has run or is currently running on a site.


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

public sealed class SPWorkflow : IComparable<SPWorkflow>

Contains members that return information about the workflow instance; such as whether the workflow has completed, its internal state, and its workflow history list.

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