Share via


IWorkflowModificationService.EnableWorkflowModification method

Enables a workflow modification by specifying a modification ID and context data.

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

Syntax

'Declaration
<CorrelationInitializerAttribute> _
Sub EnableWorkflowModification ( _
    modificationId As Guid, _
    contextData As String _
)
'Usage
Dim instance As IWorkflowModificationService
Dim modificationId As Guid
Dim contextData As String

instance.EnableWorkflowModification(modificationId, _
    contextData)
[CorrelationInitializerAttribute]
void EnableWorkflowModification(
    Guid modificationId,
    string contextData
)

Parameters

  • modificationId
    Type: System.Guid

    The identifier of the workflow modification.

  • contextData
    Type: System.String

    Context data to pass to the workflow modification form upon launch.

Remarks

This method is implemented by the EnableWorkflowModification class. It is recommended that you create an instance of the EnableWorkflowModification class rather than calling the EnableWorkflowModification method directly.

For more information on workflow modifications, see Workflow Modification Forms and the EnableWorkflowModification class.

See also

Reference

IWorkflowModificationService interface

IWorkflowModificationService members

Microsoft.SharePoint.Workflow namespace

EnableWorkflowModification

ModificationId

ContextData