SPWorkflowAssociationCollection.Add method

Adds the specified workflow association to the collection.

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

Syntax

public abstract SPWorkflowAssociation Add(
    SPWorkflowAssociation workflowAssociation
)

Parameters

Return value

Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
Returns a SPWorkflowAssociation object that represents the added workflow association, or null .

Remarks

This method adds the workflow association specified by workflowAssociation parameter to the collection.

See also

Reference

SPWorkflowAssociationCollection class

SPWorkflowAssociationCollection members

Microsoft.SharePoint.Workflow namespace