다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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 SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation