SPContentType.RemoveWorkflowAssociation method

NOTE: This API is now obsolete.

Use the WorkflowAssociations.Remove method.

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

[ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")]
public void RemoveWorkflowAssociation(
	SPWorkflowAssociation workflowAssociation
)

Parameters

workflowAssociation
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation

The workflow association to delete from the content type’s collection of workflow associations.

Show: