NOTE: This API is now obsolete.
Use the WorkflowAssociations.Update method.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
[ObsoleteAttribute("Use WorkflowAssociations.Update() instead")] public void UpdateWorkflowAssociation( SPWorkflowAssociation workflowAssociation )
- Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
The workflow association that has been updated.
If the workflow association that you are updating does not exist in the content type’s collection, this method does nothing. You can test for an association’s existence by calling the GetAssociationByNamemethod. If the return value of that method is a null reference (Nothing in Visual Basic), then the association is not in the collection.