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
workflow
Type: Microsoft.SharePoint.Workflow.SPWorkflowThe workflow instance to modify.
modification
Type: Microsoft.SharePoint.Workflow.SPWorkflowModificationThe workflow modification.
contextData
Type: System.StringThe 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
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