Partilhar via


SPWorkflowCollection Class

Represents a collection of workflow instances.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.SPBaseCollection
      Microsoft.SharePoint.Workflow.SPWorkflowCollection

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 SPWorkflowCollection _
    Inherits SPBaseCollection
'Usage
Dim instance As SPWorkflowCollection
[SubsetCallableTypeAttribute]
public sealed class SPWorkflowCollection : SPBaseCollection

Remarks

Each SPWorkflow object 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

SPWorkflowCollection Members

Microsoft.SharePoint.Workflow Namespace

Other Resources

Workflows in SharePoint Foundation

Workflow Development for SharePoint Foundation

Workflow Object Model Overview in SharePoint Foundation