SPWorkflow class

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

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Workflow.SPWorkflow

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

Syntax

'Declaration
<SubsetCallableTypeAttribute> _
Public NotInheritable Class SPWorkflow _
    Implements IComparable(Of SPWorkflow)
'Usage
Dim instance As SPWorkflow
[SubsetCallableTypeAttribute]
public sealed class SPWorkflow : IComparable<SPWorkflow>

Remarks

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

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

SPWorkflow 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