Share via


SPWorkflowManager.ModifyWorkflow method

Modifies the specified workflow instance, as specified in the context data.

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

Syntax

'Declaration
Public Sub ModifyWorkflow ( _
    workflow As SPWorkflow, _
    modification As SPWorkflowModification, _
    contextData As String _
)
'Usage
Dim instance As SPWorkflowManager
Dim workflow As SPWorkflow
Dim modification As SPWorkflowModification
Dim contextData As String

instance.ModifyWorkflow(workflow, modification, _
    contextData)
public void ModifyWorkflow(
    SPWorkflow workflow,
    SPWorkflowModification modification,
    string contextData
)

Parameters

  • contextData
    Type: System.String

    The context data for this modification.

Remarks

This method modifies the workflow specified by the workflow parameter with the modifications specified by the contextData parameter.

For more information on workflow modifications and modification forms, see Workflow Modification Forms (Windows SharePoint Services).

See also

Reference

SPWorkflowManager class

SPWorkflowManager members

Microsoft.SharePoint.Workflow namespace

Other resources

Workflows in Windows SharePoint Services

Workflow Development for Windows SharePoint Services

Workflow Object Model in Windows SharePoint Services Overview