Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
NOTE: This API is now obsolete.
Use the WorkflowAssociations.Remove method.
Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")> _
Public Sub RemoveWorkflowAssociation ( _
    workflowAssociation As SPWorkflowAssociation _
)
'Usage
Dim instance As SPContentType
Dim workflowAssociation As SPWorkflowAssociation
instance.RemoveWorkflowAssociation(workflowAssociation)
[ObsoleteAttribute("Use WorkflowAssociations.Remove() instead")]
public void RemoveWorkflowAssociation(
    SPWorkflowAssociation workflowAssociation
)
Parameters
workflowAssociation
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociationThe workflow association to delete from the content type’s collection of workflow associations.