SPWorkflow Class (Microsoft.SharePoint.Workflow)
A workflow instance that has run or is currently running on an item.

Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public NotInheritable Class SPWorkflow
    Implements IComparable(Of SPWorkflow)
Visual Basic (Usage)
Dim instance As SPWorkflow
C#
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
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.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Workflow.SPWorkflow
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

Tags :


Page view tracker