Compartilhar via


SPWorkflowManager.StartWorkflow method (SPListItem, SPWorkflowAssociation, String, Guid, SPWorkflowRunOptions)

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

Syntax

'Declaração
Public Function StartWorkflow ( _
    item As SPListItem, _
    association As SPWorkflowAssociation, _
    eventData As String, _
    correlationId As Guid, _
    runOptions As SPWorkflowRunOptions _
) As SPWorkflow
'Uso
Dim instance As SPWorkflowManager
Dim item As SPListItem
Dim association As SPWorkflowAssociation
Dim eventData As String
Dim correlationId As Guid
Dim runOptions As SPWorkflowRunOptions
Dim returnValue As SPWorkflow

returnValue = instance.StartWorkflow(item, _
    association, eventData, correlationId, _
    runOptions)
public SPWorkflow StartWorkflow(
    SPListItem item,
    SPWorkflowAssociation association,
    string eventData,
    Guid correlationId,
    SPWorkflowRunOptions runOptions
)

Parâmetros

Valor retornado

Type: Microsoft.SharePoint.Workflow.SPWorkflow

Ver também

Referência

SPWorkflowManager class

SPWorkflowManager members

StartWorkflow overload

Microsoft.SharePoint.Workflow namespace