WorkflowInteropService.DisableEvents method

Disables events on a SharePoint list object for which the workflow interop service has been listening.

Namespace:  Microsoft.SharePoint.WorkflowServices
Assembly:  Microsoft.SharePoint.WorkflowServicesBase (in Microsoft.SharePoint.WorkflowServicesBase.dll)

Syntax

'Declaration
<ClientCallableMethodAttribute> _
Public MustOverride Sub DisableEvents ( _
    listId As Guid, _
    itemGuid As Guid _
)
'Usage
Dim instance As WorkflowInteropService
Dim listId As Guid
Dim itemGuid As Guid

instance.DisableEvents(listId, itemGuid)
[ClientCallableMethodAttribute]
public abstract void DisableEvents(
    Guid listId,
    Guid itemGuid
)

Parameters

  • listId
    Type: System.Guid

    ID of a list on which to enable workflow events; if a site workflow, pass Empty to ignore.

  • itemGuid
    Type: System.Guid

    ID of a list item on which to enable workflow events; if a site workflow, pass Empty to ignore.

See also

Reference

WorkflowInteropService class

WorkflowInteropService members

Microsoft.SharePoint.WorkflowServices namespace

EnableEvents(Guid, Guid)