SPList.AddWorkflowAssociation(SPWorkflowAssociation) Method

Definition

Caution

Use WorkflowAssociations.Add() instead

public:
 Microsoft::SharePoint::Workflow::SPWorkflowAssociation ^ AddWorkflowAssociation(Microsoft::SharePoint::Workflow::SPWorkflowAssociation ^ workflowAssociation);
[System.Obsolete("Use WorkflowAssociations.Add() instead")]
public Microsoft.SharePoint.Workflow.SPWorkflowAssociation AddWorkflowAssociation (Microsoft.SharePoint.Workflow.SPWorkflowAssociation workflowAssociation);
member this.AddWorkflowAssociation : Microsoft.SharePoint.Workflow.SPWorkflowAssociation -> Microsoft.SharePoint.Workflow.SPWorkflowAssociation
Public Function AddWorkflowAssociation (workflowAssociation As SPWorkflowAssociation) As SPWorkflowAssociation

Parameters

workflowAssociation
SPWorkflowAssociation

Returns

SPWorkflowAssociation
Attributes

Applies to