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)
Available in Sandboxed Solutions: No
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.GuidThe identifier of the workflow modification.
contextData
Type: System.StringContext 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 (SharePoint Foundation) and the EnableWorkflowModification class.
See Also
Reference
IWorkflowModificationService Interface
IWorkflowModificationService Members