SPList.UpdateWorkflowAssociation method
NOTE: This API is now obsolete.
Updates the specified workflow association.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use WorkflowAssociations.Update() instead")> _
Public Sub UpdateWorkflowAssociation ( _
workflowAssociation As SPWorkflowAssociation _
)
'Usage
Dim instance As SPList
Dim workflowAssociation As SPWorkflowAssociation
instance.UpdateWorkflowAssociation(workflowAssociation)
[ObsoleteAttribute("Use WorkflowAssociations.Update() instead")]
public void UpdateWorkflowAssociation(
SPWorkflowAssociation workflowAssociation
)
Parameters
workflowAssociation
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociationAn SPWorkflowAssociation object that represents a workflow.