WorkflowInteropService.EnableEvents method
Enables workflow events on a SharePoint list object, which allows the workflow interop service to listen for the events on the object.
Namespace: Microsoft.SharePoint.WorkflowServices
Assembly: Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)
Syntax
'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Sub EnableEvents ( _
listId As Guid, _
itemGuid As Guid _
)
'Usage
Dim instance As WorkflowInteropService
Dim listId As Guid
Dim itemGuid As Guid
instance.EnableEvents(listId, itemGuid)
[ClientCallableMethodAttribute]
public abstract void EnableEvents(
Guid listId,
Guid itemGuid
)
Parameters
listId
Type: System.GuidID of a list object on which to enable workflow events; if a site workflow, pass Empty to ignore.
itemGuid
Type: System.GuidID of a list item on which to enable workflow events; if a site workflow, pass Empty to ignore.
See also
Reference
WorkflowInteropService members