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.
Updates all workflow associations to the latest version of the workflows.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Function UpdateAssociationsToLatestVersion As Boolean
'Usage
Dim instance As SPWorkflowAssociationCollection
Dim returnValue As Boolean
returnValue = instance.UpdateAssociationsToLatestVersion()
public bool UpdateAssociationsToLatestVersion()
Return Value
Type: System.Boolean
True if any update is made; otherwise, false.
Remarks
This method returns False if user-defined workflows are not enabled.
See Also
Reference
SPWorkflowAssociationCollection Class