Partilhar via


SPWorkflowAssociationCollection Class

Represents the workflow associations on a SharePoint 2010 list.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableTypeAttribute(Name := "WorkflowAssociationCollection", ServerTypeId := "{4e1196ea-ce71-4aa9-b3c0-3f8da05deec9}",  _
    CollectionChildItemType := GetType(SPWorkflowAssociation))> _
<SubsetCallableTypeAttribute> _
Public MustInherit Class SPWorkflowAssociationCollection _
    Inherits SPBaseCollection
'Usage
Dim instance As SPWorkflowAssociationCollection
[ClientCallableTypeAttribute(Name = "WorkflowAssociationCollection", ServerTypeId = "{4e1196ea-ce71-4aa9-b3c0-3f8da05deec9}", 
    CollectionChildItemType = typeof(SPWorkflowAssociation))]
[SubsetCallableTypeAttribute]
public abstract class SPWorkflowAssociationCollection : SPBaseCollection

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

SPWorkflowAssociationCollection Members

Microsoft.SharePoint.Workflow Namespace